Help converting an if loop into a while loop?
the program I had looks like this: def wordToNumber(word): if word == "one": return 1 elif word == "two": return 2 elif word == "three": return 3 elif word == "four":
__________________
Python
Domain Name Forum
|