PY
py
1
2
3
4
5
6
7
8
9
import random
ip = str(input()).upper()
alphabets = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
r = random.choice(alphabets)
print("Choiced alphabet is",r,"\nAnd you picked",ip)
if ip == r:
print("Wow! Your Answer Was Correct!")
else:
print("Sorry, That Is A Wrong Answer.")
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run