OneCompiler

Digit to word conversion in python (1 to one)

1740

#for python

a=int(input())
b=["zero","one","two","three","four","five","six","seven","eight","nine"]
print(b[a])