forked from logenkain/cig-cost
Add individual cost
This commit is contained in:
parent
ce86664c3a
commit
265b61343d
@ -21,8 +21,12 @@ while True:
|
|||||||
print("Please only type numbers")
|
print("Please only type numbers")
|
||||||
input("Press 'enter' to continue: ")
|
input("Press 'enter' to continue: ")
|
||||||
continue
|
continue
|
||||||
|
os.system('clear')
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
||||||
|
print("Your cigarettes cost", cost/20, "each")
|
||||||
|
|
||||||
print()
|
print()
|
||||||
print("You smoke: ")
|
print("You smoke: ")
|
||||||
print(20 * packs, "per day")
|
print(20 * packs, "per day")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user