Question: The print function automatically attaches a newline to every output. To suppress this, include as the last an argument of the form end = strexp
The print function automatically attaches a newline to every output. To suppress this, include as the last an argument of the form
end = strexp
Where strexp is a string that will inserted to the end of the displayed output. What is displayed by the following program?
print('Hello,', end='")
print('My name is', end="")
print('Peter Williams')
print('Hello, , end=****)
print('My name is', end='***)
print('Peter William')
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
