0

Why it not take input?

#python 2.7.15 favlang={} print("inter your favourite avourite language sachin\n") print("inter your favourite avourite language shubham\n") print("inter your favourite avourite language anurag\n") print("inter your favourite avourite language ramendra\n") favlang['sachin']=a favlang['shubham']=b favlang['anurag']=c favlang['ramendra']=d print(favlang)

12th Aug 2022, 3:20 PM
Sachin Patel
Sachin Patel - avatar
1 Answer
+ 5
You can get input with: input_value = input() additionally, you could add a message that get propt before the input with: input_value = input('Please enter something here: ')
12th Aug 2022, 3:24 PM
Leander
Leander - avatar