We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 531785b + 0644627 commit 3e58775Copy full SHA for 3e58775
Strings.py
@@ -21,3 +21,7 @@
21
Life"""
22
print("\nCreating a multiline String: ")
23
print(String1)
24
+
25
+# Use F string to incert variables with {
26
+String1 = "4"
27
+print(f"I am an f string. 2 + 2 = {String1}")
0 commit comments