← 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?
- A.7
- B."7.0"
- C.7.0
- 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 →