Input gets prompted twice?
Discussions on Python.org
Input gets prompted twice?
This code make the input prompt twice. How do I resolve, so that I only need to prompt the input once? def functionA(): a = input("Give a number: ") b = str(a) b = len(b) return b def functionB(): c = functicnA() print(str(c)) functionA() functionB()
0 comments
No comments yet.