BASICS
SYNTAX
VARIABLES
COMMENTS
DATA TYPE
100

Python works on different platforms as:

Windows, Mac, Linux, Raspberry Pi, etc

100

What is syntax?

the order of the code

100

Variables are created when you:

assign a value to it

100

Comments can be use to:

Comments can be used to explain Python code, make the code more readable and to prevent execution when testing code.


100

Variables can store data of

Different types

200

What can Python do?

Python can be used on a server to create web applications, create workflows, it can connect to database systems. It can also read and modify files. Python can be used to handle big data and perform complex mathematics and can be used for rapid prototyping, or for production-ready software development.

200

You have to use the same number of spaces in the same block of code, if not:

Python will give you an error

200

command for declaring a variable

There is not a command

200

How can you create a comment

with an # before the words

200

Different types can do

Different things

300

What is python used for?

web development

software development

mathematics

system scripting

300

Python uses indentation to indicate a:

Block of code

300

How do you get the type?

with type()

300

Comments starts with a # because...

python ignores them

300

the data type is set when you...

assign a value to a variable

400

The most recent major version of Python is:

Python 3

400

Python syntax can be executed by writing directly in:

the Command Line

400

Do not need to be declared with any particular type, and can even change type after they have been set:

Variable

400

To add a multiline comment you could...

insert a # for each line

400

You can get data type by typing...

type()

500

what type of file does python use?

.py

500

What is an indentation?

Indentation refers to the spaces at the beginning of a code line.

500

If you want to specify the data type of a variable you use...

Casting

500

A comment does not have to be text that explains the code, it can also be used to prevent Python to...

executing code

500

Name 3 data types

str, int, float, list, tuple, dic, set, bool, bytes, bytearray, memoryview, NoneType, etc