Computer Science, asked by pranav15075, 5 months ago

Write a Python program to input the number from 1-10 and display it in word (E.g. if we enter “1” then it should display “one” and so on)​

Answers

Answered by ngdktheboss
1

Answer:

3838383ghsiznw(input 1-7)

hgdk(728)

input 467

output(876)

Answered by gaganadithyareddy9
0

Answer:

Hey! This is in python...

nums = {'1' : 'one', '2' : 'two', '3' : 'Three', '4' : 'Four', '5' : 'Five', '6' : 'six', '7' : 'Seven', '8' : 'Eight', '9' : 'Nine'}

x = int(input("Enter a number: "))

print(nums.get(str(x)))

# HOPE THIS HELPS!!

Similar questions