Wie klassifiziert Python books = 5 und price = 19.99?
books = 5
price = 19.99
Beide sind boolesche Werte, weil sie ungleich null sind.
books ist ein float, während price ein int ist.
books
float
price
int
books ist ein int, während price ein float ist.
Beide sind Strings, weil Variablen immer Text speichern.