fork download
  1. battery =50
  2. if battery >30:
  3. print("the robot can move now")
  4. else:
  5. print("the robot needs to charge battery first")
  6.  
  7. mark =50
  8. if mark >50:
  9. print("you succeed")
  10. else:
  11. print("you failed")
  12.  
  13. points =110
  14. if points >100:
  15. print("you win")
  16. else:
  17. print("you failed")
Success #stdin #stdout 0.09s 14040KB
stdin
Standard input is empty
stdout
the robot can move now
you failed
you win