Skip to content

Latest commit

 

History

History

Python-Homeworks

Homework-One : Tip Calculator

We've looked at Python variables, strings, arithmetic operators, debugging, typecasting and more! Now, you will put this knowledge to use. It's assignment time!

Topics we've covered this week:

  • Command line basics (pwd, ls, cd, open / start, ., .., ~),
  • Two ways of running python code (python [filename], python)
  • Print: print()
  • Comments #
  • Variable assignment
  • Numbers (floats, integers) + math
  • Strings (", ', """)
  • Escaping stuff inside of strings
  • Variables inside strings
  • User input with input()

Now its time for you to put all of that knowledge to the test. Click the 'Submit Assignment' tab above and take the challenge!

Good Luck <3!