I am just exploring the logic of python and the way it works.. I want to know how this code works and what it actually means that made it give these results..
code:
print(str and int)
print(int and str)
print(str or int)
print(int or str)
result:
<class 'int'>
<class 'str'>
<class 'str'>
<class 'int'>