# [closed] HW 5.6 Doubt in the original question

 0 Can somebody tell me whether the original question has the following commented or is as shown below: table = make_hashtable(10) hashtable_update(table, 'Python', 'Monty') hashtable_update(table, 'CLU', 'Barbara Liskov') hashtable_update(table, 'JavaScript', 'Brendan Eich') hashtable_update(table, 'Python', 'Guido van Rossum') print hashtable_lookup(table, 'Python') # => Guido van Rossum  Somehow, i am not sure whether i changed something and am not sure whether the print statement is commented in the original code asked 26 Mar '12, 11:46 Prabha Raman... 424●5●17 accept rate: 83%

### The question has been closed for the following reason "The question is answered, right answer was accepted" by Prabha Ramanathan 26 Mar '12, 23:08

4 Answers:
 1 The statements were originally uncommented. However, know that everything outside a function (procedure) block does not matter. You can leave the print statements uncommented, or comment them, it won't have any impact on the autograder. What matters is to have no print starements inside a function (procedure), unless specifically asked. See this thread and that one. answered 26 Mar '12, 11:53 Elise 3.7k●5●16●56 thanks, i didnt know about this that there can be print statements outside of the function (26 Mar '12, 23:07) Prabha Raman...
 0 Hello - that is not commented originally. answered 26 Mar '12, 11:48 christopher ... 2.3k●7●17●44 thanks a lot (26 Mar '12, 23:06) Prabha Raman...
 0 The print statements are not commented. please look at this discussion to clear your doubt.link answered 26 Mar '12, 11:53 sudha partha... 11.1k●8●31●76
 0 Just copy your code (paste somewhere to be sure), hit reset button then paste it back in again. answered 26 Mar '12, 11:55 DJOldskool-1 7.9k●7●16●54 will try out, will it work even if i have already submitted? (26 Mar '12, 23:08) Prabha Raman...

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• link:[text](http://url.com/ "Title")
• image?![alt text](/path/img.jpg "Title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported

### Tags:

×15,262
×1,718
×195
×31
×27
×8

Asked: 26 Mar '12, 11:46

Seen: 287 times

Last updated: 26 Mar '12, 23:08