Skip to main content
← CoursesPython FoundationsModule 1 · Fundamentals of syntaxData Typesquiz3 / 170
💬 Discuss🧪 Playground+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.

Keep going

🎯 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.
📣 Help someone learn PythonShare this lesson with a friend — the first 15 are free, no signup.Tweet

💬 Discussion

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