dotfiles/.config/Code/User/History/-4c5bd84c/z97D.py
RafayAhmad7548 4f46de8d00 update
2024-09-09 16:59:28 +05:00

9 lines
No EOL
208 B
Python

name = input('Enter name of Student: ')
while not valid:
cnic = input('Enter ID of Student: ')
if len(cnic) == 13:
valid = True
else:
valid = False
print('invalid CNIC\n')