Skip to content

Instantly share code, notes, and snippets.

View asbenjamin's full-sized avatar

Benjamin Shammah asbenjamin

View GitHub Profile
@asbenjamin
asbenjamin / nvmCommands.js
Last active October 31, 2022 08:40 — forked from chranderson/nvmCommands.js
Useful NVM commands
// 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
# print the board
# take user input
# check win or tie
# switch the player
# check win or tie again
board = [
"-","-","-",
"-","-","-",
#!/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:
"""
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