GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Mindmap

Python

Grace Bourie Englisch

Inhalt der Mindmap

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

Informationen

Beschreibung
Mindmap am Python, erstellt von Grace Bourie am 14/01/2021.
Erstellt von
Grace Bourie
Aufrufe
1
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck