- Ending characters: print('this is a question', end='?') outputs "this is a question?"
- Math in Python: Either use the same datatype, or convert using int(), str(), float(), bool()
- Taking input: Input takes a value from the user. You can assign input to a variable with x = input()
Write a program to take in input of a float and an integer: the float is a price for an item and the integer is how many of that item are ordered. Print out the total cost. (For example, buying 3 apples at $0.49 each means the total cost is $1.47.)
Post your answers as a comment, and let us know if you need help! We'll post solutions before next class.