Print any number and convert it into digits!

 customers ={

    "1":"One",

    "2":"Two",

    "3": "Three",

    "4": "Four",

    "5": "Five",

    "6": "Six",

    "7": "Seven",

    "8": "Eight",

    "9": "Nine"

}

Phone= input("Phone No.: ")

output=""


for ch in Phone:

    output += customers.get(ch) + " "

print(output)

Comments

Popular posts from this blog

Guess game!

Path for chromedriver