A CQF elective with Dr. Yves J. Hilpisch, The Python Quants GmbH
General resources:
A CQF elective with Dr. Yves J. Hilpisch, The Python Quants GmbH
General resources:
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.
The following table presents the MySQL/Oracle executables and the corresponding MongoDB executables.
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?", |
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 | |
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: |