🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Python Variables and Data Types: all 15 questions

Quiz: Python Variables and Data Types · Question 9 of 15

Which of these is a float?

Which of these is a float?

  1. A.7
  2. B."7.0"
  3. C.7.0
  4. D.True
Answer & explanation

Correct answer: 7.0

The quotes make "7.0" a string.

Can you get the rest right without peeking?

Take the timed Quiz: Python Variables and Data Types quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →