Zum Hauptinhalt springen
⚡
← Kurse›Python FoundationsModul 1 · Grundlagen der Syntax›Datentypenquiz3 / 174
+75 XP
Aufgabe
📝 **Frage:** Welcher dieser Typen ist eine Fließkommazahl (`float`) in Python? 📋 Wähle die richtige Antwort aus. 💡 **Hinweis:** Ein `float` enthält einen Dezimalpunkt. `int` ist eine Ganzzahl, `str` ist Text, `bool` ist wahr/falsch. ```python type(42) # <class 'int'> type(2.5) # <class 'float'> type("hi") # <class 'str'> type(True) # <class 'bool'> ```
🎯 Quiz

Frage

📝 **Frage:** Welcher dieser Typen ist eine Fließkommazahl (`float`) in Python? 📋 Wähle die richtige Antwort aus. 💡 **Hinweis:** Ein `float` enthält einen Dezimalpunkt. `int` ist eine Ganzzahl, `str` ist Text, `bool` ist wahr/falsch. ```python type(42) # <class 'int'> type(2.5) # <class 'float'> type("hi") # <class 'str'> type(True) # <class 'bool'> ```