#sample solution
def check_condition():
#return this if the condition is True
ifRun = "if code block run"
#return this is if the condition is False
elseRun = "else code block run"
if condition == True:
#your code here
return ifRun
else:
#your code here
return elseRun
No comments:
Post a Comment