Created
July 19, 2017 14:25
-
-
Save vihar/2e2246cb2b67085c4df3e176740e5638 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fuel = True | |
speed = 167 | |
miles = 153.5 | |
location = 16.789 + 12323.45j | |
car = "Mustang" | |
# type() function returns the datatype of variable. | |
print(fuel, type(fuel)) | |
print(speed, type(speed)) | |
print(miles, type(miles)) | |
print(location, type(location)) | |
print(car, type(car)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment