+ 1
why there are no { } signs in python?
4 ответов
+ 7
dict = {key: value}
set = {v, a, l, u, e, s}
fstring = f"this is {function()}"
stringformat = "this is {0}".format(value)
these are all i know🤔
+ 5
Sets too :)
+ 5
f strings, string literals
+ 1
it is use for dictionaries,sets ,string formatting and in f string.