Skip to content

Instantly share code, notes, and snippets.

@thetongs
Created March 14, 2023 03:57
Show Gist options
  • Save thetongs/56044af61944b9f4f545d318f1bcc6d0 to your computer and use it in GitHub Desktop.
Save thetongs/56044af61944b9f4f545d318f1bcc6d0 to your computer and use it in GitHub Desktop.
# string variable
str_var = "Name"
str_var1 = 'Name'
print(str_var)
print(type(str_var))
print(str_var1)
print(type(str_var1))
# Name
# <class 'str'>
# Name
# <class 'str'>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment