TASK 1:
Write a program printline.py that prints second prog the sentence “This is my second program”
Print it as a single line
Print it with single word on each line
TASK 2:
Which of the following statements are likely to cause problems:
print “This is a valid statement\n”
print “This is a valid statement”\n
print “This is a ”valid” statement”
printx “This is a valid statement\n”
b, c and d will cause problems.
TASK 3:
Calculator in python:
OUTPUT: