2847/raw-input-method-is-not-working-in-python3-how-to-use-it
raw_input is not supported anymore in python3. Instead of that, you can simply use input(). It will serve the same functionality to take input from the user. Example:
name=input("Enter your name") print("My name is", name)
Tuples are a Unchanging sequence of values, ...READ MORE
Python doesn't have a native array data ...READ MORE
Brackets are required to print the output. >>> ...READ MORE
raw_input() was renamed to input() so now input() returns the exact string ...READ MORE
suppose you have a string with a ...READ MORE
You can also use the random library's ...READ MORE
Syntax : list. count(value) Code: colors = ['red', 'green', ...READ MORE
Enumerate() method adds a counter to an ...READ MORE
raw_input fuction is no longer available in ...READ MORE
print(*names, sep = ', ') This is what ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.