55555
44444
33333
22222
11111
44444
33333
22222
11111
for i in range(5, 0, ____ ):
print(str(i) * 5)
- 0
- None
- first
- -first
22222
33333
44444
55555
for i in range(1, 6):
print(i, i, i, i, i)
for i in range(1, 5):
print(str(i) * 5)
for i in range(1, 6):
print(str(i) * 5)
for i in range(0, 5):
print(str(i) * 5)
for i in range(5, 0, ____ ):
print(str(i) * 5)
myList = [1, 5, 5, 5, 5, 1]
max = myList[0]
indexOfMax = 0
for i in range(1, len(myList)):
if myList[i] > max:
max = myList[i]
indexOfMax = i
print(indexOfMax)
x = True
y=False
z= False
if not x or y:
print (1)
elif not x or not y and z:
print (2)
elif not x or y or not y and x:
print (3)
else:
print (4)
a = [1, 4, 20, 2, 5]
x = a[0]
for i in a:
if i > x:
x = i
print x
for i in range(10):
if i == 5:
break
else:
print(i)
else:
print("Here")
string = "my name is x"
for i in string:
print (i, end=", ")
i = 0
x = 0
while i < 10:
if i % 2 == 0:
x += 1
i += 1
x = _____.
def f(value):
while True:
value = (yield value)
a=f(10)
print(next(a))
print(next(a))
print(a.send(20))
ten
ten
ten
ten
20
ten
None
20
ten
None
None
x = 1
y = "2"
z = 3
sum = 0
for i in (x,y,z):
if isinstance(i, int):
sum += i
print (sum)