python-hard-way/ex11.py

12 lines
235 B
Python
Raw Permalink Normal View History

2019-01-25 01:20:10 +00:00
#Write your function here
def every_three_nums(start):
if start > 100:
return []
everythree = range(start, 101, 3)
return list(everythree)
#Uncomment the line below when your function is done
print(every_three_nums(91))