Zum Hauptinhalt springen
← KursePython FoundationsModul 1 · Grundlagen der SyntaxDatentypenquiz3 / 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'> ```

💬 Diskussion

Sei der erste — stelle eine Frage oder teile einen Tipp.
Anmelden um an der Diskussion teilzunehmen. Lesen ist kostenlos.
Diskussion wird geladen…