Inactive Tutor answered 01/07/21
A few things to note:
- Try to make your variable names more descriptive! "numQuarters" is a lot easier to make sense of than "Q"
- Python's input() function always returns a string, so just setting numQuarters to input("Enter...") won't work once you get to the math portion. Instead, we wrap the input() function with "int(input())", telling Python that the string the user inputted is actually an integer, and to treat it as such.