+ 25
end statement
What is the meaning of the end statement in the print statement
6 odpowiedzi
+ 10
It is the terminating character(s) used for the print function. The default is '\n' for a new line. You can change it to "" for none or " " for a space or "-" for hyphen separated statements, etc.
+ 19
thank you guys
+ 6
print(" did u understand ", end = "?" )
>>> did u understand ?
+ 4
'end' is not a "statement", it's a "named parameter" ^^
+ 2
what this mean s+=1
+ 1
what this mean s+=1
s=s + 1