Computer Science, asked by guruji1213, 8 months ago

What do you understand by conditional statements in python​

Answers

Answered by rahulbiswas1107
1

Answer:

Conditional statements are used to print desired output under a centain condition

Explanation:

x=input('Enter a value')

x=int(x)

if x<10:

print(x)

those program will only print x when the value of x is under 10

Similar questions