>>> name="ILovePython"
>>> print("__iter__" in name.__dir__())
True
>>> x=76
>>> print("__iter__" in x.__dir__())
False
String is the iterable but integer is not.
#Python3 just made my day again: found out this morning that you can replace conditional expression "a <= x and x <= b" by "a <= x <= b" #ilovecoding#ilovepython@ThePSF
Y hay una charla donde dice "Y tu mamá también debería de aprender Python" Historia verdadera contada por una mamá en persona (-_^)/ #ilovePython#pythonmexico | Martes 30, 19:30 hrs | Inviten a sus mamás!
Day 58 - 61: Dictionaries!! This challenge stumped me yesterday, but a solution quickly came to me today 😊
Now I want to work out a way to solve it using a dictionary comprehension 😅
#100DaysOfCode#Python#pythonprogramming#ilovepython