Mindmap
Python
Inhalt der Mindmap
Python
Variables
- Strings
- Double quotes
- Single quotes
- str()
- Floats
- Decimal numbers
- Intergers
- Whole numbers
- Boolean
- True
- False
- Strings
Lists
- Can be empty or contain one or more of any type of variable
Functions
- Useful functions
- .upper()
- can be used to capitalize an entire string
- .isupper()
- returns true if string is all upper case
- .lower()
- can be used to lower the case of an entire string
- .uslower()
- returns true if string is all lower
- string[number]
- returns character in index position of [number]
- .index("character")
- returns the index position of the first character that matches the input returns error if input does not match any character within the string
- .replace()
- passes 2 arguments first argument corresponds to the variable to be replaced second argument corresponds to the variable you would like to replace the first argument with
- .upper()
- input
Concatenation
- A combination of same or different types of variables on one line
Operators
- * multiply
Informationen
- Beschreibung
- Mindmap am Python, erstellt von Mathew Williams am 08/01/2019.
- Erstellt von
- Mathew Williams · Jan 2019
- Aktualisiert
- 8 Jan 2019
- Aufrufe
- 0
- Bewertung