Toggle navigation
English
Chinese
Python Sandbox
Please refer to
this tutorial
to find more details on the following codes.
# # Keywords 'if', 'else', 'elif' are used to control # flow of code. The indented code follows the logic # derived from those conditional instructions. # # change i,j and see which print statement activates # i=3 j=200 if (i==2): print("number is 2") elif (i==1): print("number is 1") else: print(i) print(j)
Run
List