for my project to check social security:
I am wondering if they are correct to run, but seem programming did not do anything
I don't know if it is right:
Thank you so much
I am wondering if they are correct to run, but seem programming did not do anything
I don't know if it is right:
def main(): ssn = eval(input("Please enter your Social Security ")) def Check(ssn): if len(ssn) == ssn[0:3] and ssn[5:6] and ssn[8:11] == ssn.isdigit(): if len(ssn) == ssn[4 and 7] == "-": print("Your Social Security is valid") else: print("Your Social Security is invalid") main()anyone will help, I will appreciate it, I am still learning to programming in python, soon change to Julia programming
Thank you so much