Loops


#loops

message=("python is awesome!")

print(message*6)

python is awesome!python is awesome!python is awesome!python is awesome!python is awesome!python is awesome!

#more loops

Days=("Monday=1","Tuesday=2","Wednesday=3")

print(Days[0])

print(Days[2])

print(Days[-1])

print(Days[-2])

print(Days[0:2])

Monday=1

Wednesday=3

Wednesday=3

Tuesday=2

('Monday=1', 'Tuesday=2'

Leave a comment

Log in with itch.io to leave a comment.