- 2

Print the given value in string format

Test Cases 3 Three 574 Five hundred seventy Four You may upto 1000

1st May 2020, 1:14 PM
M LOKESH
M LOKESH - avatar
2 Respostas
+ 2
Luckily, found a code snippet for you :)) Check this out : https://code.sololearn.com/c2lLa1kUrn5Z/?ref=app Bonus : It is not upto 1000. You can type any number!
1st May 2020, 1:23 PM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
+ 1
__import__("os").system("pip install inflect -q") import inflect b=inflect.engine() Num=674 a=b.number_to_words(Num) we have this library in python ..and you can type any number
1st May 2020, 2:55 PM
ANJALI SAHU