-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkunja14.py
56 lines (43 loc) · 1.07 KB
/
kunja14.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
'''a= float(input("enter a first number:"))
b= float(input("enter a second number:"))
op=input("enter a operator:")
if op=="+":
print(a+b)
elif op =="-":
print(a - b)
elif op =="*":
print(a * b)
elif op =="/":
print(a / b)
else:
print("invalid")'''
def deposite(x,y):
return int(x)+int(y)
def withdraw(x,y):
return int(x)-int(y)
def kunja():
return kunja()
kunja()
amount=50000
name="kunja bijukchhe"
print("Enter your choice:\n1.Withdraw\n2.Deposite\n3.Show Balance")
choice=input("your choice is:")
if choice=='1':
a=input("Enter a withdraw amount:")
if int(a) <= int(amount):
print(withdraw(amount,a))
else:
print("invalid")
elif choice=='2':
b=input("Enter your deposit amount:")
print(deposite(amount,b))
elif choice=='3':
print("Your name is "+name+".")
print("your current balance is Rs."+str(amount))
else:
print("invaild")
c=input("Do you want to continues y/n")
if c=="y":
print(kunja())
else:
print("good bye")