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
2
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
Math,
7 months ago
Accountancy,
7 months ago
Chemistry,
1 year ago
Physics,
1 year ago
Physics,
1 year ago