OTP GENERATION
import random s=random.randint(1000,10000) a=(s,0) print("OTP is ",a[0]) n=int(input("Enter the OTP:")) if a[0]==n: print("Correct OTP") else: print("wrong OTP") print("Try another attempt") g=int(input("1-Yes or 2-No:")) if g==1: n=int(input("Enter the OTP:")) if a[0]==n: print("Correct OTP") else: print("wrong OTP") else: print("Good luck - Next time")