- 1
Create a list of multiples of 3 from 0 to 20.?
a =_ i for i in range(20) __i%_==0] ?
3 Antworten
+ 1
for i in range(0,20):
if i%3==0:
print(i)#prints all multiples of 3.
+ 1
a = [ i for i in range(20) if i% 3 ==0]
a =_ i for i in range(20) __i%_==0] ?