Question: In Thonny, create a simple Python script. This script should consist of three lines of code. The first line of code should use the print
In Thonny, create a simple Python script. This script should consist of three lines of code.
The first line of code should use the print function to print "This".
The second line of code should use the print function to print "is".
The third line of code should use the print function to print "cool!".
Make sure to include quotation marks around the text that will be printed on each line.
In Thonny, go to the View menu and make sure Shell is selected. When it is selected, you should see a Shell window in the bottom part of the screen.
After writing the code, click on the "Run current script" button at the top of Thonny (green circle with a white triangle inside of it). After you run the code (script), you should see the expected output in the Shell window. If not, keep working on your code until the output is correct.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
