Jun-07-2019, 05:23 PM
I prefer the format method of strings:
print('Unit price: ${}'.format(uprice)) print('Total price: ${}'.format(tot))You should switch to Python 3 if possible. At the end of the year support for 2.7 will stop.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures