Ad Code

If you click or tap on the page or redirect to another page, so sorry this is a technical issue. Please come back and read aur articles or post.

यदि आप पृष्ठ पर क्लिक या टैप करते हैं या किसी अन्य पृष्ठ पर रीडायरेक्ट करते हैं, तो क्षमा करें यह एक तकनीकी समस्या है। कृपया वापस आएं और हमारे लेख या पोस्ट पढ़ें।

How to make atm machine use python in mobile.

how to make atm machine use python in mobile

how to create atm machine use python in mobile

    Step number one.

  • Open the play store and install a termux.
  • Open a termux.
  • commend

  • apt update.
  • apt upgrade.
  • pkg install nano.
  • pkg install python.
  • nano atm.py
  • Copy this past this code in nano.

    Code is hare

    #-------------------------------------------------------------------------Bank of sagar-------------------------------------------------------------# #SBI ATM DETELS #0.67.5 --version #Builder name = Isparsh kesharwani #This project is complete. import time print("please insert your Card") time.sleep(3) #Data server password=8835 #Data server complete pin=int(input("enter your pin ")) if pin==password: print (''' 5 == current 6 == cried 7 == saving ''' ) option=int(input("please enter your choise")) #Data server# card=7 #Data server complete# if card==option: balance=1000000 time.sleep(2) if pin==password: print (''' 1 == balance 2 == withdraw balance 3 == deposit money 4 == pay money 8 == mini statement ''' ) try: option=int(input("please enter your choise ")) except: print("please enter valid option") if option==1: print (f"your current balance is {balance}") if option==2: withdraw_amount=int(input("please enter withdraw amount")) balance=balance-withdraw_amount print (f"{withdraw_amount} is debited form your account") print (f"your current balance is {balance}") if option==3: deposit_amount=int(input("please enter deposit amount ")) balance=balance+deposit_amount print(f"{deposit_amount} is credited to your account") print (f"your update balance is {balance} ") if option==4: pay_amount=int(input("please enter pay amount ")) balance=balance-pay_amount account_number=int(input("please enter card number ")) #Data server number=7746069776 #Data server is complet while number==account_number: print(f"{pay_amount} is debited form your account") print(f"your update balance is {balance} ") if option==8: print (f"your transaction is 2") print (f"your 1st transaction = Debit = ATM = 11.7 rs ") print (f"your 2st transaction = Debit = Text = 5.9 rs") balance=balance-11.7 balance=balance-5.9 print (f"your current balance is {balance}") else: print("thanks for cooming")


Post a Comment

0 Comments

Ad Code