wht is error in my program | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

wht is error in my program

user_imput = input("") dict = {"1":"one","2":"two"} output = '' for items in dict: output += dict.get(items ,'!' ) + '' print (output )

2nd Sep 2020, 2:53 AM
#challenger mg
#challenger mg - avatar
2 Answers
0
Always specify what do you want to do and whats the problem you are facing while posting the question. you have taken input which is of no use because you havent used that variable "user_imput" anywhere.
2nd Sep 2020, 6:42 AM
Nihar Buliya
Nihar Buliya - avatar
0
😭😔 ok
3rd Sep 2020, 4:08 PM
#challenger mg
#challenger mg - avatar