Improved and cracked the logic of word to number library and code

This commit is contained in:
Mohammad Rameen 2025-06-03 23:03:25 +05:30
parent 996f6d0d44
commit 536ea1810f

View File

@ -41,7 +41,7 @@ def words_to_number(words):
return total + current return total + current
# Example usage # Example usage
while words_to_number.words: while words_to_number:
user = input("guess a number: ") user = input("guess a number: ")
print(words_to_number(user)) print(words_to_number(user))