Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
alternative dict.get (faster)
#python 3.6.9 a = {"one":1, "two":2} key = "three" if key in a and a[key] != 0: print(True) else: print(False)
run
|
edit
|
history
|
help
0
10
Variables mutables e inmutables
PyRegSetRange
Get count
sum of odd numbers
Prac1_2
Rishika
hi
lesson3 part3
sensi