Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
Change the program so that it shows your own name in the first line, and then add a second line that says what you are learning.
Change the text inside the quotation marks, and run again.
Have you tried it?
Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, compare your working with the solution.
Plan. Change the words inside the quotation marks. Add a second print() for the second line.
print("Hello, my name is Asha!") with your own name.print("I am learning Python.").Check. Press Run. The output shows your two lines. If something goes wrong, read the error message, or press Reset and start again.
Log in to join the discussion.
Loading…