pub-3785248829033902 | Python: Numeric Types | - Big data with Python

| Python: Numeric Types |

The best way to learn new things is to take a practical approach of the things you want to learn. Here is a fragment of code that demonstrates the use of math statement in Python:


Æ’ python command

print(int('3')+4)
print('3%i'%4)
print(float("3.7"))

output

7
34
3.7


Previous
Next Post »