the.bay.news

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

Sign in to join the discussion — your thebay.events account works here.

No comments yet.