- 1
Fill in the blanks to print the first element of the list, if it contains even number of elements.
Hi, does anyone know how to answer this question: list = [1, 2, 3, 4] if (list) % 2 == 0 : print(list[ ])
4 odpowiedzi
+ 3
list = [1, 2, 3, 4]
if len(list) % 2 == 0:
print(list[0])
+ 3
list = [1, 2, 3, 4]
if len(list) % 2 == 0:
print(list[0])
0
Thanks much... for some reason I just couldn't figure that one out!
0
Fill in the blanks to add two background images to the element, with the first positioned at the top left corner, and the other at the top right corner.
Help me
Pls