Python Program To Print a PAN Card details

In this program, you’ll learn Python Program To Print a PAN Card details. Write a Python Program To Print PAN Card details.

while(1):
name=input("Enter your name: ")
if name.isspace()==True:
print("Invalid Name!")
break
else:
pan_no=input("Enter your PAN number: ")
if pan_no.isalnum()==False:
print("Invalid Pan Card Number!")
break
print("Please check, "+name+", Your PAN Card Number is : "+pan_no)
break

Output:
Python Program To Print a PAN Card details