Simple Code Flashcards
(8 cards)
What is an IDE and what would an example of one be?
An IDE is an integrated development environment. An IDE is a software that helps write other software. An example of this would be PyCharm.
How do you make a python file?
Go to FILE–> NEW–> (NAME IT IE MAIN)—> click PYTHON FILE
How do you change the font?
FILE–> SETTINGS—> EDITOR—>FONT (change font)
How do you run a Python script?
There are two ways to do this.
First: Click the play button in the right hand corner
OR
Second: Hit RUN on the left side list of tabs at the top of the screen.
What is the terminal window?
The terminal window is the output display of the code created.
What does PROCESS FINISHED WITH EXIT CODE ZERO mean?
PROCESS FINISHED WITH EXIT CODE ZERO means there are no errors in your code.
What are the steps to print a message in Python?
type PRINT(“I love pizza!”) output in the terminal window will be I LOVE PIZZA
Whatever is in the () and “ “ or ‘ ‘ will be printed as such.
How do you change the font, font color and font size in Python?
To change anything of the font FILE–>SETTINGS–>EDITOR
FILE–>SETTINGS–> EDITOR–> CONSOLE COLORS (COLOR) 2ND LINE CLICK AND SELECT COLOR