Skip to content

Instantly share code, notes, and snippets.

@vihar
Created July 19, 2017 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vihar/2e2246cb2b67085c4df3e176740e5638 to your computer and use it in GitHub Desktop.
Save vihar/2e2246cb2b67085c4df3e176740e5638 to your computer and use it in GitHub Desktop.
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