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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started