English

Which data type will be used to represent the following data values and why? Perimeter of a square

Advertisements
Advertisements

Question

Which data type will be used to represent the following data values and why?

Perimeter of a square

One Line Answer
Advertisements

Solution

float because the perimeter may be decimal.

shaalaa.com
Python Data Types
  Is there an error in this question or solution?
Chapter 5: Getting Started with Python - Exercise [Page 116]

APPEARS IN

NCERT Computer Science [English] Class 11
Chapter 5 Getting Started with Python
Exercise | Q 6. f) | Page 116
NCERT Informatics Practices [English] Class 11
Chapter 3 Brief Overview of Python
Exercise | Q 3. f) | Page 52
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×