kuroko/test/testFStrings.krk

7 lines
227 B
Python
Raw Normal View History

2021-01-22 02:38:36 +03:00
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")