end statement | SoloLearn: Learn to code for FREE!

+24

end statement

What is the meaning of the end statement in the print statement

6 Answers

New Answer

+9

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.

+18

+4

print(" did u understand ", end = "?" ) >>> did u understand ?

+3

'end' is not a "statement", it's a "named parameter" ^^

0

what this mean s+=1

0

what this mean s+=1 s=s + 1