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
| """ | |
| The following orogram prints out the numbers 1 to 100 (inclusive). | |
| If the number is divisible by 3, print Crackle instead of the number. | |
| If it's divisible by 5, print Pop. | |
| If it's divisible by both 3 and 5, print CracklePop. | |
| """ | |
| for number in range(1, 101): | |
| if number % 15 == 0: | |
| print ("CracklePop") | |
| continue |
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
| #!/usr/bin/env python3 | |
| """ | |
| This program is an implementation of the smtp library from python standard | |
| library to send email using gmail | |
| """ | |
| import smtplib # import stmplib | |
| try: |
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
| # print the board | |
| # take user input | |
| # check win or tie | |
| # switch the player | |
| # check win or tie again | |
| board = [ | |
| "-","-","-", | |
| "-","-","-", |
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
| // check version | |
| node -v || node --version | |
| // list installed versions of node (via nvm) | |
| nvm ls | |
| // install specific version of node | |
| nvm install 6.9.2 | |
| // set default version of node |