Naar hoofdinhoud
← CursussenPython FoundationsModule 1 · Grondbeginselen van syntaxisGegevenstypenquiz3 / 174
+75 XP
Opdracht
📝 **Vraag:** Welke van deze types is een decimaal getal (`float`) in Python? 📋 Kies het juiste antwoord. 💡 **Hint:** een `float` bevat een decimaal punt. `int` is geheel getal, `str` is tekst, `bool` is waar/onwaar. ```python type(42) # <class 'int'> type(2.5) # <class 'float'> type("hi") # <class 'str'> type(True) # <class 'bool'> ```
🎯 Quiz

Vraag

📝 **Vraag:** Welke van deze types is een decimaal getal (`float`) in Python? 📋 Kies het juiste antwoord. 💡 **Hint:** een `float` bevat een decimaal punt. `int` is geheel getal, `str` is tekst, `bool` is waar/onwaar. ```python type(42) # <class 'int'> type(2.5) # <class 'float'> type("hi") # <class 'str'> type(True) # <class 'bool'> ```

💬 Discussie

Wees de eerste — stel een vraag of deel een tip.
Log in om mee te doen aan de discussie. Lezen is gratis.
Discussie laden…