+ 25

end statement

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

5th Nov 2017, 6:25 PM
Hosseinam
Hosseinam - avatar
6 Respostas
+ 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.
5th Nov 2017, 6:32 PM
ChaoticDawg
ChaoticDawg - avatar
+ 19
thank you guys
6th Nov 2017, 4:24 AM
Hosseinam
Hosseinam - avatar
+ 6
print(" did u understand ", end = "?" ) >>> did u understand ?
6th Nov 2017, 3:01 AM
sayan chandra
sayan chandra - avatar
+ 4
'end' is not a "statement", it's a "named parameter" ^^
6th Nov 2017, 4:36 AM
visph
visph - avatar
+ 2
what this mean s+=1
24th Apr 2018, 6:39 PM
Hilal AL
Hilal AL - avatar
+ 1
what this mean s+=1 s=s + 1
29th Nov 2018, 7:20 AM
Tally