Solved

Give Python Code That Display "Valid SSN" If the String

Question 52

Essay

Give Python code that display "Valid SSN" if the string assigned to variable SSN is a valid social security number, and displays "Invalid SSN" otherwise. A social security number is valid if it contains exactly nine digits, and no other characters.

Correct Answer:

verifed

Verified

if SSN.isdigit() and...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions