Monday, 27 November 2017

convert number to word in python




pip install n2w

import n2w

print(n2w.convert(12))

'twelve'

print(n2w.convert(123))

'one hundred twenty three'

No comments:

Post a Comment