7 lines
227 B
Python
7 lines
227 B
Python
|
print(f"Regular string")
|
||
|
print(f"{1 + 2}")
|
||
|
print(f"{1 + 2} with a string after")
|
||
|
print(f"with a string before {1 + 2}")
|
||
|
print(f"with {1+2}{object} nothing in between")
|
||
|
print(f"{1 + 2}{3 + 4}{[]}{{}} with some fun expressions")
|