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
The print statement has been replaced with a print() ...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
can you give an example using a ...READ MORE
raw_input fuction is no longer available in ...READ MORE
print(*names, sep = ', ') This is what ...READ MORE
OR
Already have an account? Sign in.