- 2
print( x + '.'). What is this symbol ('.') refers to?
x = "This is a string" x.replace(' is ',' was ') print (x + '.') output:- This was a string.
1 ответ
+ 10
quotes around text meqns that it will be string(just text)
. - means dot, so you adding dot(.) at the end of sentence