Loops
Programming Progress Log » Devlog
#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'
Programming Progress Log
More posts
- List FunctionsNov 14, 2022
- Python Classes/ObjectsOct 24, 2022
- While LoopsOct 24, 2022
- ListsOct 16, 2022
- Short Circuit PracticeOct 16, 2022
- Using VariablesOct 15, 2022
- Converting degrees to farenheitOct 15, 2022
- First CodeOct 15, 2022
Leave a comment
Log in with itch.io to leave a comment.