@santiago666/

Pocket Money Adder-2

Python 2.7

No description

fork
loading
Files
  • main.py
  • requirements.txt
  • source code.txt
  • source code2.txt
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
intWeekNo = 1000
fltPocketMoney = 1000
fltTotalMoney =1000
totalMoney = 1000

name = input("Welcome. santiago gutierrez")
for intWeekNo in range(1,26):
    intWeekNo = int(intWeekNo) + 1
    print("\nIt is week ",intWeekNo)
    fltPocketMoney = float(fltPocketMoney) * 2
    print("You will get BD",fltPocketMoney, name)
    totalMoney = float(totalMoney) + float(fltPocketMoney)

print("You now have", totalMoney, "pounds",name)
input("\
nPress ENTER to exit program")