Python
Python
Python
Python
100

What is a programing language used for software and web development, system scripting, and mathematics?

Python

100

What are comments for in Python?

To explain Python code, to make the code more readable, and to prevent execution when testing code.

100

What is the name of the library to make a random number?

Random library

100

What is a variable?

Containers for storing data values.

200

Python can be used for...

... creating web applications, workflows, connecting to a database system, etc.

200

In Python this is incorrect:   

     ‘Hello‘ 

How do we correct it?


“Hello”

200

What is Indentation?

The spaces at the beginning of a code line.

200

What's Python's command to declare a variable?




There is no command to declare a variable.

300

How can you create a variable in Python?

A variable is created the moment you first assign a value to it.

300

What does a comment in Python start with?

With a #

300

What is Indentation used for in Python?

To indicate a block of code.

300

When are variables created?

When you assign a value to them.

400

What is the most recent version of Python?

Python 3

400

Python has a syntax similar to what?

The English Language

400

What is Python's file extension?

.py

400

What does str() do?

Converts a number into a string

500

Who created Pyton?

Guido van Rossum

500

Python uses indentation to indicate a block of code. What happens if you miss an indentation?


Python will give you an error

500

What is the purpose of a class?

A class is a blueprint from which different objects are created.

500

What three letter word is used to declare a function?

"def"

Click to zoom