English

What are conditionals? When they are required in a program? - Computer Science (Python)

Advertisements
Advertisements

Question

What are conditionals? When they are required in a program?

Short Note

Solution

In programming, conditionals are used for providing the condition to values, input, and output. There are various conditional statements there to evaluate the expression.

Generally, conditional statements give us an output in the form of true or false which is known as Boolean values.

shaalaa.com
Introduction to Flow of Control
  Is there an error in this question or solution?
Chapter 4: Introduction to Problem Solving - Exercise [Page 84]

APPEARS IN

NCERT Computer Science [English] Class 11
Chapter 4 Introduction to Problem Solving
Exercise | Q 12. | Page 84
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×