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
World Languages,
6 months ago
Geography,
6 months ago
Science,
11 months ago
Math,
11 months ago
Hindi,
1 year ago
CBSE BOARD XII,
1 year ago