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.
1 parent 1d0eece commit 0644627Copy full SHA for 0644627
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