Last active
January 27, 2016 11:21
-
-
Save Sinitca-Aleksandr/d289b1dc82bf76edcadb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| x = int(input("Print 4=")) | |
| if x == 4: | |
| print("Thank you") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| x = int(input("Print 4=")) | |
| if x == 4: | |
| print("Thank you") | |
| else: | |
| print("Nooo!!!") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| x = int(input("X=")) | |
| if x==1: | |
| print ("One") | |
| elif x==2: | |
| print ("Two") | |
| elif x==3: | |
| print ("Three") | |
| else: | |
| print "I do not know this number" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment