Created
February 2, 2020 08:56
-
-
Save santosadrian/dda8ba00458c7a4f13677e0a257452c3 to your computer and use it in GitHub Desktop.
Example 6
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
types_of_people = 10 | |
x = f"There are {types_of_people} types of people." | |
binary = "binary" | |
do_not = "don't" | |
y= f"Those who know {binary} and those who {do_not}" | |
print(x) | |
print(y) | |
print(f"I said: {x}") | |
print(f"I also said: '{y}'") | |
hilarious = False | |
joke_evaluation = "Isn't that joke so funny?! {}" | |
print(joke_evaluation.format(hilarious)) | |
w = "This is the left side of..." | |
e = "a string with a right side." | |
print(w + e) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment