¡GoConqr estrena diseño! Cuéntanos qué te parece.

Mapa mental

Python

Grace Bourie Inglés

Contenido del mapa

Python

  1. conditions

    • ==, !=, >=, <=, <, > are normal mathematical conditions used in python
      • if statements use these conditions
        • if statements consist of an "if" keyword followed by a conditional and code to be executed if the conditional evaluates to true
          • nested if statements consist of if statements inside other if statements
        • elif statements come after if statements and are like if statements except they only run if the other evaluates to false
        • else statements run if all other statements evaluate to false
    • "and" and "or" are logical operators that work the same way they do in math
  2. functions

    • the "def" keyword is used to define a function
    • a function contains a block of code and only runs when called.
      • functions are called by writing their name and parentheses
    • argument can be passed through functionss
  3. String concatenation

    • strings are a datatype consisting of characters
      • they can be combined using the "+" operator
  4. numbers

    • int
      • short for integer
    • float
      • numbers with decimals
    • complex
      • complex numbers with "j" to represent the square root of negative one
    • thon has built in functions to convert between these types of numbers

Información

Descripción
Mapa Mental sobre Python, creado por Grace Bourie el 14/01/2021.
Creado por
Grace Bourie
Visitas
1
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?