Video tutorial #10 challenge

0 travis thayer · March 25, 2015
y = 0

for x in range(101):
        if x % 3 == y:
                print(x)


# I found multiples of 3 btw...

Post a Reply

Replies

Oldest  Newest  Rating
0 alex constantin · March 27, 2015
Not for me....

 
y = 0
multiples = []

for x in range(101):
    if x % 3 == y:
        multiples.append(x)
        

print len(multiples)
  • 1

Python

107,334 followers
About

This section is all about snakes! Just kidding.

Links
Moderators
Bucky Roberts Administrator