Online Course Discussion Forum

CS Intro to Algorithms Homework

 
 
LinRuthie的头像
CS Intro to Algorithms Homework
LinRuthie - 2019年06月13日 Thursday 19:12
 
How do you upload the homework? I used Pycharm to do the homework, but I'm not sure how to save it and upload it as one file.  Is any .py file okay? Also, can you upload a pdf of your work instead?


Also, I did not see the homework upload guide. How do I find this?

 
LensmireJohn的头像
Re: CS Intro to Algorithms Homework
LensmireJohn - 2019年06月15日 Saturday 08:18
 

For the CS assignment, each problem has a couple of different portions. When submitting the first assignment online, each problem has a text box that can be typed in. This is meant for explanations for parts (a) and (b) of the assignment. For example, the first problem asks to describe how to write out the first 20 perfect squares. So in the first box, you could give the instructions for your peers/2nd grader. The Python portion will be submitted as a file ("Question 6" when you submit the homework).

Ideally you put all the Python code into one .py file (possibly copying and pasting your function definitions). For the first assignment, if you need to put all the files in a single .zip file (or a pdf) that would be okay as well.

Let us know if you have any other questions, and hopefully the homework submission starts making more sense.