What is a programing language used for software and web development, system scripting, and mathematics?
Python
What are comments for in Python?
To explain Python code, to make the code more readable, and to prevent execution when testing code.
What is the name of the library to make a random number?
Random library
What is a variable?
Containers for storing data values.
Python can be used for...
... creating web applications, workflows, connecting to a database system, etc.
In Python this is incorrect:
‘Hello‘
How do we correct it?
“Hello”
What is Indentation?
The spaces at the beginning of a code line.
What's Python's command to declare a variable?
There is no command to declare a variable.
How can you create a variable in Python?
A variable is created the moment you first assign a value to it.
What does a comment in Python start with?
With a #
What is Indentation used for in Python?
To indicate a block of code.
When are variables created?
When you assign a value to them.
What is the most recent version of Python?
Python 3
Python has a syntax similar to what?
The English Language
What is Python's file extension?
.py
What does str() do?
Converts a number into a string
Who created Pyton?
Guido van Rossum
Python uses indentation to indicate a block of code. What happens if you miss an indentation?
Python will give you an error
What is the purpose of a class?
A class is a blueprint from which different objects are created.
What three letter word is used to declare a function?
"def"