somnamniac
 Name:

 School:
 About:
 Push the button, Frank.
Most Active Subjects

 Questions Asked
 10
 Questions Answered
 0
 Medals Received
 8

 Questions Asked
 10
 Questions Answered
 66
 Medals Received
 10

 Questions Asked
 1
 Questions Answered
 0
 Medals Received
 0

 Questions Asked
 10
 Questions Answered
 0
 Medals Received
 8

 Questions Asked
 10
 Questions Answered
 66
 Medals Received
 10

 Questions Asked
 1
 Questions Answered
 0
 Medals Received
 0

0 
Questions Answered

somnamniac:
Group Title
Why is 2n^2 = O(n^3) ?
This is given as an example of big O notation in the MIT OCW Introduction to Algorithms (SMA 5503) course. It's in …
 updated 3 years ago
 16 replies
 1 Medal
Mathematics

somnamniac:
Group Title
why do functions save variable definitions when using python from the command line?
 updated 3 years ago
 5 replies
 No Medals Yet
Mathematics

Brody38h:
Group Title
Working on ps8 and having trouble with problem 4. Anybody have this one solved or able to discuss it?
 updated 3 years ago
 8 replies
 No Medals Yet
Mathematics

jaymorgangrice:
Group Title
Can some1 tell me whats wrong with this answer for 1a? Cheers
pprime = 5…
 updated 3 years ago
 3 replies
 No Medals Yet
Mathematics

divanshu:
Group Title
hi, i just wanted to know about the reference books related to the lectures on introduction to computer science and programming?
 updated 3 years ago
 3 replies
 No Medals Yet
Mathematics

dhatraditya:
Group Title
Hi,
I just wanted to know how many lectures I have to view before I can start the problem set 1. I have finished the first 3 lectures. The…
 updated 3 years ago
 2 replies
 No Medals Yet
Mathematics

walistiky:
Group Title

I think this works:
ps1.py…
 updated 3 years ago
 2 replies
 No Medals Yet
Mathematics

Bonabon:
Group Title
"Solved" the first half of PS1, code works perfectly, but I have a question or two.
Sticking to the idea that:…
 updated 3 years ago
 11 replies
 No Medals Yet
Mathematics

Mongo:
Group Title
is there anyone working on problem set 1
 updated 3 years ago
 7 replies
 No Medals Yet
Mathematics

fsl4faisal:
Group Title
want help in string operation
…
 updated 3 years ago
 7 replies
 No Medals Yet
Mathematics

lennydykstra84:
Group Title
In ps5, the display_hand function utilizes two for loops. Can someone explain the need for the second loop?
for j in range(hand[letter]):…
 updated 3 years ago
 4 replies
 No Medals Yet
Mathematics

somnamniac:
Group Title
OT question for people who do this for a living: What is a 'database'?
 updated 3 years ago
 11 replies
 No Medals Yet
Mathematics

fsl4faisal:
Group Title
what is answer of pset 2
Show that it is possible to buy exactly 50, 51, 52, 53, 54, and 55 McNuggets, by finding …
 updated 8 months ago
 3 replies
 No Medals Yet
Mathematics

lamba89:
Group Title
Problem 1 of Problem set 3: for the recursive function, I got my code working by writing a function within a function, it's quite long comp…
 updated 3 years ago
 5 replies
 No Medals Yet
Mathematics

britt:
Group Title
How do you return the value of a variable from a function?
For example, I want to use variable x. Say I start my program with "x=1".…
 updated 3 years ago
 4 replies
 No Medals Yet
Mathematics

dtrobson099:
Group Title
I think my code for ps2a is correct, but I think my code is kind of ugly. I have a feeling I should be using tuples in some fashion, but I…
 updated 3 years ago
 9 replies
 No Medals Yet
Mathematics

iannet:
Group Title
I just watched lecture 15 and wonder why p > q calls cPoint's __cmp__ function. I'd expect p > q check whether p's referent is greater than…
 updated 3 years ago
 5 replies
 No Medals Yet
Mathematics

rlp0903:
Group Title
I'll throw this out there. I've been using a good Perl ebook that is available as a free Pdf  "Invent Your Own Computer Games with Python…
 updated 3 years ago
 1 reply
 No Medals Yet
Mathematics

nordungg:
Group Title
PS0  is this piece of code correct. It seems to work as it should, but I would like to be sure:
"Enter your last name"…
 updated 3 years ago
 3 replies
 No Medals Yet
Mathematics

allnurote:
Group Title
PSet 1, problem 1, the prime numbers thing.
I'd just like to see if I'm on the right track. Here's what I have so far:…
 updated 3 years ago
 9 replies
 No Medals Yet
Mathematics

iyasvami:
Group Title
How is this course (6.00) compared to course 6.001?
 updated 3 years ago
 4 replies
 No Medals Yet
Mathematics

allnurote:
Group Title
Python beginner...
I'm having trouble coding for simple programs in the psets. Is there some kind of howto guide I should look at to help…
 updated 3 years ago
 2 replies
 No Medals Yet
Mathematics

greenman:
Group Title
Anyone want to check out my code for problem 1 (a)? It works, I am just looking for tips moving forwards.
print 'Currently Calculating Pri…
 updated 3 years ago
 3 replies
 No Medals Yet
Mathematics

dtrobson099:
Group Title
I'm struggling with the sum of the logs problem in Problem Set 1. My ratio seems to approach 0, and very slowly. I'm not getting the outp…
 updated 3 years ago
 10 replies
 No Medals Yet
Mathematics

GearsofWar:
Group Title
Can someone help me get started on problem 1 on the nuggets assignment?
 updated 3 years ago
 2 replies
 No Medals Yet
Mathematics

Aslander:
Group Title
Prob.Set 4, problem 4. I think I am reading this problem incorrectly. Is it the max amount to withdraw during retirement only, or both reti…
 updated 3 years ago
 7 replies
 No Medals Yet
Mathematics

ewigej:
Group Title
hey guys! I'm on problem set 0 and it says the instructions on installing Python are covered in handouts..
is there any way to obtain by do…
 updated 3 years ago
 5 replies
 No Medals Yet
Mathematics

Keen:
Group Title
PS 3, problem 2 question: What should be returned if key string is empty?
 updated 3 years ago
 5 replies
 No Medals Yet
Mathematics

somnamniac:
Group Title
What are good places to start looking to get involved in open source development?
 updated 3 years ago
 11 replies
 No Medals Yet
Mathematics

djm:
Group Title
Video 2 comes up as being deleted. Can it be found elsewhere?
 updated 3 years ago
 5 replies
 No Medals Yet
Mathematics
 > Older questions