From 536ea1810f778f57d1baadd64e277149bdd6f447 Mon Sep 17 00:00:00 2001 From: Mohammad Rameen Date: Tue, 3 Jun 2025 23:03:25 +0530 Subject: [PATCH] Improved and cracked the logic of word to number library and code --- Visual Studio Code Projects/word_2_num.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Visual Studio Code Projects/word_2_num.py b/Visual Studio Code Projects/word_2_num.py index 7d16e25..4e81352 100644 --- a/Visual Studio Code Projects/word_2_num.py +++ b/Visual Studio Code Projects/word_2_num.py @@ -41,7 +41,7 @@ def words_to_number(words): return total + current # Example usage -while words_to_number.words: +while words_to_number: user = input("guess a number: ") print(words_to_number(user)) \ No newline at end of file