Using Variables
Programming Progress Log » Devlog
sausages=4
beans=100
hashbrowns=2
breakfast=6+8
full_english=7
print("There are",sausages,"sausages available")
print("There are",beans,"baked beans on the plate")
print("Grandpa likes",hashbrowns,"hashbrowns only")
print("There are",breakfast,"breakfasts available at the restaurant")
print("There are only",full_english,"full englishs' left")
There are 4 sausages available
There are 100 baked beans on the plate
Grandpa likes 2 hashbrowns only
There are 14 breakfasts available at the restaurant
There are only 7 full englishs' left
Programming Progress Log
More posts
- List FunctionsNov 14, 2022
- Python Classes/ObjectsOct 24, 2022
- While LoopsOct 24, 2022
- LoopsOct 16, 2022
- ListsOct 16, 2022
- Short Circuit PracticeOct 16, 2022
- Converting degrees to farenheitOct 15, 2022
- First CodeOct 15, 2022
Leave a comment
Log in with itch.io to leave a comment.