Quantcast
Channel: Input not working in python 3 - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Steve Hawkins for Input not working in python 3

You've defined the function loop() but you never call it. You'll want something like this at the end of the file:if __name__ == "__main__": loop()Docs on what this does for Python 3 can be found here.

View Article



Answer by apsdehal for Input not working in python 3

You need to call loop functionTry this:import mathprint ('Circumference and Area calculator')def loop(): again = input ('Would you like to make any more calculations? (y/n)').lower() if again == "y":...

View Article

Input not working in python 3

I have been given an assignment by my teacher in class to write a Python program that calculates the circumference and area of certain shapes. So far my first bit of codeimport mathprint...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images