Answers for "Lists and for loops"

0

Lists and for loops

for number in range(20):
    if number % 3 == 0:
        print(number)

for fruit in ["banana", "apple", "quince"]:
    print("I like to eat " + fruit + "s!")
Posted by: Guest on October-05-2021

Python Answers by Framework

Browse Popular Code Answers by Language