different data types
Python
num1 = 5 print(num1, 'is of type', type(num1)) num2 = 2.0 print(num2, 'is of type', type(num2)) num3 = 1+2j print(num3, 'is of type', type(num3))
Output
Embed on website
To embed this program on your website, copy the following code and paste it into your website's HTML:
Comments
This comment belongs to a banned user and is only visible to admins.
This comment belongs to a deleted user and is only visible to admins.