Skip to content

Instantly share code, notes, and snippets.

lists = []
for n in range(1,int(raw_input())):
if n % 3 == 0 and n % 5 == 0:
lists.append("FizzBuzz")
elif n % 3 == 0:
lists.append("Fizz")
elif n % 5 == 0:
lists.append("Buzz")
else:
@mscandizzo
mscandizzo / gist:5f802175e1472f14e427
Last active March 16, 2016 13:43
FizzBuzz updated
lists = []
while True:
try:
val = int(raw_input("Please enter range upper boundary:"))
break
except:
print "I guess you did not enter a number, please try again"
continue
def drinks():
from collections import defaultdict
import random
questions = {
"strong": "Do you like your drinks strong?",
"salty": "Do you like it with a salty tang?",
"bitter": "Are ye a lubber who likes it bitter?",
"sweet": "Would ye like a bit of sweetness with yer poison?",

SQL to MongoDB Mapping Chart

SQL to MongoDB Mapping Chart

In addition to the charts that follow, you might want to consider the Frequently Asked Questions section for a selection of common questions about MongoDB.

Executables

The following table presents the MySQL/Oracle executables and the corresponding MongoDB executables.

@mscandizzo
mscandizzo / 00_cqf_ml_elective.md
Created January 15, 2019 11:24 — forked from yhilpisch/00_cqf_ml_elective.md
Machine Learning for Finance | Dr. Yves J. Hilpisch | CQF Elective | London, 23. May 2017

Machine Learning for Finance

A CQF elective with Dr. Yves J. Hilpisch, The Python Quants GmbH

General resources: