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)
1 Réponse
+ 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: ')