New String Interpolation#
This only applies from pytohn 3.5 onwards
name = "surfer190"
print("My name is {}".format(name))
Can be shortened using f
name = "surfer190"
print(f"My name is {name}")
2017-09-11
Python
This only applies from pytohn 3.5 onwards
name = "surfer190"
print("My name is {}".format(name))
Can be shortened using f
name = "surfer190"
print(f"My name is {name}")
From here you can search these documents. Enter your search terms below.
Keys | Action |
---|---|
? | Open this help |
n | Next page |
p | Previous page |
s | Search |