Commit 37fcdd2b by BellCodeEditor

save project

parent 451e8e88
Pipeline #3520 failed in 0 seconds
Showing with 8 additions and 8 deletions
dict_a = {'1':11,'2':22,'3':33,'4':44,'5':55}
k = input("nymsma")
print (dict_a)
a = dict_a
a['5']=66
print(a['5'])
a['6']=66
print(a['6'])
if k in dict_a:
print a[k]
else:
print("mycsp")
\ No newline at end of file
if k in a:
print (str(a[k]))
else:
print("mycsp")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment