Python: Ch-5, Ch-6


#1



https://www.codecademy.com/en/courses/python-beginner-en-qzsCL/1/4?curriculum_id=4f89dab3d788890003000096

https://www.codecademy.com/courses/python-beginner-en-IZ9Ra/1/3?curriculum_id=4f89dab3d788890003000096


The first link shows the error written below:
"Oops, try again. get_class_average([alice]) returned 83.8666666667 instead of 91.15 as expected"

and the second link shows this error:
"Oops, try again. Check what your code prints for orange. It doesn't look quite right!"


Replace this line with your code.


#2

the url is the same for everyone, please copy paste your code to the forum.


#3

From previous examples of people getting those errors Im going to guess that for the first one under get_class_average you are not using the arguement that is being passed to it.

For the second one check your print statement is exactly as stated, i.e. Lower case p in price and s in stock.

Could be wrong once you post your code.


#4

I figured that out, already.
Thank you, anyway. :slightly_smiling_face::slightly_smiling_face:


#5

I figured that out, already.
Thank you. :slightly_smiling_face:


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.