Skip to content

Program-3.py

1
2
3
4
5
6
# Generate a 6-digit random OTP.

import random

otp = random.randint(100000, 999999)
print("Your OTP is :", otp)