Python help
By
Bego232
in Programming
in Programming
Go to solution
Solved by Sauron,
First of all "input()" returns a string unless you specify you want something else. That means no matter what you write, a string is never going to be equal to the integers 1, 2 or 3 for python. Try
number = int(input("Enter number: "))
-
Featured Topics
-
Topics
-
2
-
1
-
ZGruk ·
Posted in New Builds and Planning1 -
Cramig88 ·
Posted in Networking0 -
4
-
Xnihilo97 ·
Posted in Peripherals0 -
0
-
4
-
aqarwaen29 ·
Posted in Storage Devices7 -
2
-
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now