id/email
password
forgot password | create account
about | help | prefs
ReadingBatcode reading practice

 

 

Listslist1

prev  |  next  |  chance
def list1(x):
    result = 0
    for i in range(x):
        result += 2
    return result
Function Call  Return Value
list1(5)    
list1(2)    
list1(1)    
list1(15)  
list1(150)
list1(10)  

Experiment with this code on Gitpod.io

⬅ Back