Created
March 2, 2021 13:43
-
-
Save ofelix03/d6c461f29503d11c41d3bf6fcc9ebad6 to your computer and use it in GitHub Desktop.
Concatenating an f-string with a regular string literal
This file contains hidden or 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
# Concatenates an f-string with a regular string literal | |
print(f"This is {first_name} {last_name}. " "He is from Ghana") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment