Karteikarten
Python Introduction

Karten in diesem Stapel (21)
- 1integral, float, complex

- 2verify the type of any object in Pythontype()

- 3scientific numbers

- 4Complex numbers are written with a"j" as the imaginary part

- 5convert from one type to anotherint(), float(), and complex()

- 6What type of numbers cannot be converted?Complex Numbers
- 7How do you display a random number

- 8What are the constructor functions?

- 9What are string literals and how do you display them

- 10How do you assign a string to a variable

- 11How do you assign a multiline string to a variableuse three quotation marks
- 12How do you access elements of a stringbrackets

- 13Substringbrackets and a colon, starts with 0, last number not included

- 14Strip methodremoves whitespace from beggining or end

- 15length of a string

- 16return in upper or lower case

- 17replace a string with another string

- 18split

- 19combine string and number using format method

- 20insert multiple arguments into a string

- 21—
Informationen
- Beschreibung
- GRE Karteikarten am Python Introduction, erstellt von Brooks Johnson am 13/08/2019.
- Erstellt von
- Brooks Johnson · Aug 2019
- Aktualisiert
- 13 Aug 2019
- Aufrufe
- 0
- Bewertung