What do you understand by conditional statements in python
Answers
Answered by
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