Skip to content

Beginner Assignment#1

Open
RajathPrabhu221 wants to merge 10 commits intonathanielpolley:mainfrom
RajathPrabhu221:main
Open

Beginner Assignment#1
RajathPrabhu221 wants to merge 10 commits intonathanielpolley:mainfrom
RajathPrabhu221:main

Conversation

@RajathPrabhu221
Copy link

While I am opening a pull request, it suddenly flashed to my mind that it is October which for programmers as you know is Hacktober. Wouldn't it be great if we all could participate?

Copy link
Owner

@nathanielpolley nathanielpolley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Rajath, very nice to meet you! Congratulations, you were the first student to complete this quest. I was beginning to hyperventilate thinking my directions were too unclear or there was something I was missing or a combination thereof, however, you gave me faith again of what the CARe masters students can accomplish in a limited timeframe.

In regards to exploring the ocean of knowledge, I actually once opened an Indian restaurant in Toulouse for a day called "The Saffron Dragon à chez Nathaniel", since I once went to an Indian restaurant in Montpellier, and they put pineapple juice in their saag paneer, so I thought "why can't I do this better?" Plus, I've been yearning for spice in this city, found a good supplier in Jean Jaures that gives me my monthly allotments of naga morich pickle. Even they think I am crazy for how many peppers I buy!

Regardless, thank you for doing the first assignment. I believe that "import this" should have printed out an entire poem. Your submission just has the last line of it, but I will give you the full score regardless, since that tells me that Python3 has been successfully installed on your machine. Also, in order to become hackers, we must take the baby steps first, and afterwards, we must learn to become ethical hackers, so I have incorporated some dollops of Kantian ethics into this course as well.

Excited to meet you tomorrow!

Score: 0.5/0.5

@RajathPrabhu221
Copy link
Author

Hello Nathaniel! Great to hear that you tried, liked, and in fact opened an Indian restaurant. I cannot imagine myself opening a restaurant to be honest. And yes, if you're speaking about Asie Bazaar in Jean Jaures, that's become a go to place for me too.

I guess I have pasted the entire Zen poem. Could you please check again? I have attached a snippet for your reference.
image

@RajathPrabhu221
Copy link
Author

There are 2 commits. In the first one, I missed copying the entire thing

@nathanielpolley
Copy link
Owner

Got it. Thank you!

Copy link
Owner

@nathanielpolley nathanielpolley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brilliant work here so far. You prompted the user for input, vetted that input making sure it was only nucleotide sequences, and converted everything to upper so that lower case could be parsed.

The only thing left to fix would be the GC content, where it is the sum of Gs and Cs over the total amount times 100..a simple arithmetic command. Regardless, good work so far. I will award full points once that change is made.

Score: pending/2

@RajathPrabhu221
Copy link
Author

@nathanielpolley Changes done. Sorry for the GC content. I have no idea why I did G/C. That's stupid of me

Copy link
Owner

@nathanielpolley nathanielpolley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All objectives satisfied.

Final score: 3/3

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent progress here. You have it output a prompt to the user if the final value is a lesser value. Two tips for going beyond the objective would be 1) to have it repeat the program instead of terminate if the incorrect value sizes are submitted by the user 2) to truncate the final decimal value so that it is not 20 digits long i.e. if you have to do this a million times on a large dataset, each bit added to a value can make the file size unnecessarily large.

However, everything is perfectly done. I will award the full score.

Score: 1/1

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything fine and dandy here. Great work!

Score: 2/2

Copy link
Owner

@nathanielpolley nathanielpolley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beginner objectives satisfied.
Intermediate objectives pending.
Advanced objectives pending.

Total score: pending/3

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect implementation with the initialization of the list object, a while loop to prompt the user for 5 entries and check correct input (converted to ints). Immaculate arithmetic action going on here. And finally a for loop to test for cases greater than 200. One tip, if you would like to shorthand "n=n+1" (in order to prevent carpal tunnel from typing an extra character), you can use "n += 1" instead.

Excellent.

Score: 0.5/0.5

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My carpal tunnel hurts me anyways. I've gotten used to it pretty much now.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But yes, I'll definitely use the shorthand. I have done it in the intermediate problem. Sorry for the delay in the submission. Took some time debugging unnecessarily.

Copy link
Owner

@nathanielpolley nathanielpolley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beginner objectives satisfied
Intermediate objectives satisfied
Advanced objectives pending

Final score: pending/3.5

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All objectives satisfied here. My only criticism would be what was discussed in class..user experience. Things should be a human design with no lapses in understanding e.g. most people would think "press enter" instead of "type the word enter".

..think about why the pros avoid Microsoft Word like the plague. 1) it is proprietary software that requires a paid license and 2) you drag and drop an image into the document and the formatting flies all over the place.

Good design starts at home. The future of good software is in your hands!

Regardless

Score: 1/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants