Convert the following if-else to a single conditional statement if (x greater than or =10) a=m+5; else a=m;
Answers
Answered by
6
if x>=10:
a=m+5
if a<10:
a= m
the following code is in python
a=m+5
if a<10:
a= m
the following code is in python
Similar questions
Hindi,
7 months ago
Social Sciences,
7 months ago
Science,
1 year ago
Math,
1 year ago
Hindi,
1 year ago
CBSE BOARD XII,
1 year ago