Skip to main content
← CoursesPython FoundationsModule 1 · Fundamentals of syntaxData Typesquiz3 / 174
+75 XP
Task
What type is the number 3.14? In Python every value has a type: • whole numbers (1, 42, -7) → int • numbers with a decimal point (3.14, 2.5) → float • text in quotes ("hello") → str • True / False → bool Pick the correct answer below.
🎯 Quiz

Question

What type is the number 3.14? In Python every value has a type: • whole numbers (1, 42, -7) → int • numbers with a decimal point (3.14, 2.5) → float • text in quotes ("hello") → str • True / False → bool Pick the correct answer below.

💬 Discussion

Be the first to ask a question or share a tip.
Sign in to join the discussion. Reading is free.
Loading discussion…