Saturday, 2 January 2021

Some Most Useful functions in python for anyone who is getting started

For any language learner who is getting started, learning ways to unblock oneself becomes one of the most important part to keep self encouraging.

type of any variable

>>> st="Narendran"
>>> type(st)
<class 'str'>
>>> num = 123
>>> type(num
... )
<class 'int'>
>>>

help with type

help(str)

dir with any variable

dir(st)

No comments:

Post a Comment

Tai Chi - Balance Energy and reduce stress while breathing with your Hands & Legs

How I ended up with Tai Chi?      HATHA YOGA requires a siting posture for meditation.  And various contortions requires reflecting the sti...