PYTHON 1
PYTHON 2
PYTHON 3
PYTHON 4
PYTHON 5
100

What is a programing lenguage used for software and web development, system sripting 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

Python syntax can be executed by...

...writing directly in the Command Line

100

Python syntax can be executed by...

... creating a python file on the server, using the .py file extension, and running it in the Command Line: 

100

What does Python use to complete a comand?

New lines

200

Python can be used for...

... creating web aplications, workflows, conect to a database system, etc.

200

With what does a comment in Python start with?

With a #

200

Python has a set of built-in math functions, including an extensive math module, that allows you to...

...perform mathematical tasks on numbers.

200

Python uses indentation to indicate a block of code.

What hapens if you miss an indentation?

Python will give you an error

200

Python has syntax that allows developers to write what? 

Programs with fewer lines than some other programming languages.

300

What is the most recent version of Python?

Python 3

300

In Python, is prototyping  fast? Why?

Yes, because in Python the code can be executed as soon as it is written. 

300

Python has a syntax similar to what?

The English Lenguage

300

In Python this is incorrect:   

     ‘Hello‘ 

How do we correct it?

“Hello”

300

How can you create a variable on Python?

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

400

Who created Pyton?

Guido van Rossum

400

On what platforms does Python work on?

Windows, Mac, Linux, Raspberry Pi, etc

400

Random, Who was alexander the great?

King of macedonia

400

When was Python invented?

January 1994

400

What data basis does Python use?

MySQL and MongoDB databases

500

How can you cheek if you have Python installed in a Linux or Mac?

On linux open the command line or on Mac open the Terminal and type:

python --version

500

How can you cheek if you have Python installed in a Windows PC?

Search in the start bar for Python or run the following on the Command Line (cmd.exe):

C:\Users\Your Name>python --version

500

Name one rule for Python variables 

  • A variable name must start with a letter or the underscore character
  • A variable name cannot start with a number
  • A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _ )
  • Variable names are case-sensitive (age, Age and AGE are three different variables)
500

What are the 3 numeric types in Python?

  • int
  • float
  • complex
500

Does Python have a function to make a random number?

No