Python Tutorial by Siva Krishna
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment