- 4

Write a Python script to check whether a given key already exists in a dictionary.

30th Apr 2022, 2:24 AM
haha
6 Respuestas
+ 6
Learn dictionary function from "Python Core" course
30th Apr 2022, 9:21 AM
Fꫀⲅძ᥆͟ᥙ᥉᯽
Fꫀⲅძ᥆͟ᥙ᥉᯽ - avatar
+ 5
Nah, you gotta try first
30th Apr 2022, 5:34 AM
Slick
Slick - avatar
+ 5
haha Self learning is all about attempting to write your iwn codes, not just ask for answers. Refer to Intermediate Python lesson 3.1 for details on how to resolve your problem
30th Apr 2022, 6:54 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 3
Have you given an attempt?
30th Apr 2022, 5:26 AM
Slick
Slick - avatar
+ 3
Pls try this: my_dict = {} if my_dict == {}: print('No effort at all and repeated requests for others to do all your work') print('Sure, SoloLearn community is here to serve you')
30th Apr 2022, 11:55 AM
Emerson Prado
Emerson Prado - avatar
- 6
codes pls
30th Apr 2022, 5:33 AM
haha