Valid zip code



Problem to find the valid zip code. Valid zip code length should be 6 and all must be numbers.



Example-1:


Input    : n = "723001"
Output   : True 


Example-2:


Input    : n = "45#27A"
Output   : False


Example-3:


Input    : n = "987654321"
Output   : False







Solution




n = "723001"

if(len(n) == 6 and n.isdigit()):

    print("True")

else:

    print("False")



Output



True