Created
April 10, 2020 10:59
-
-
Save rishisidhu/5d9ff888dca915405617dbec69e2541a to your computer and use it in GitHub Desktop.
Understanding the basic types in Python
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
in1 = 1+2j # Complex Number | |
fl1 = 0.78 # Float | |
fl2 = 2.6e-2 # Float with scientific notation. e means 10^ | |
fl3 = 1.8*10**308 +1 # One greater than the maximum float | |
bl1 = True # Boolean True | |
bl2 = False # Boolean False | |
st1 = "Hello World!" # String | |
bt1 = b"hola" # Byte |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment