Computer Science, asked by Subhajeetbaskey, 10 months ago

import time import sys amount=50000 person=input("Enter your name") def greet(person): gg=(". . .") length_gg=len(gg) print("Hello",end='') for i in range(length_gg): sys.stdout.flush() print(gg[i],end='') time.sleep(0.5) print(person,end='') greet(person) print() print("""Enter choice: 1)Withdraw 2)Deposit 3)Help 4)Ideas """) choice=input("e") if choice=="withdraw" or "Withdraw" or "WITHDRAW" or "1": cash=int(input("Enter amount")) if cash>=40000: cash=40000 print("40000 rupeees withdrawn") else: print(cash, 'rupees withdrawn') amount_left=amount-cash print("You have ",amount_left,"Rupees left") elif choice=="Deposit" or "DEPOSIT " or "deposit" or "2": dep=int(input("Enter amount")) amount_deposited=amount+dep print("New balance",amount) what is wrong here

Answers

Answered by maran938
0

Answer:

pls follow me and Mark as brainliest

Explanation:

all programs must have a closure if C++ its return 0 . else if is written wrong ly as elif .

Answered by rishabhappbuilter210
0

Answer:

Error: 'person' does not name a type

Return code is not zero

Line col message

1. 1. unknown type name 'input'

1. 14. same

1. 26. c++ requires a type specifier- - for all declaration.

1. 40. same

1. 47. use of undeclared identifier - 'input'

Please mark as Brainliest.

Similar questions