michael4227 / OIM3640-2021fall

Python
0 stars 0 forks source link

Exercise in Session 05 #4

Closed lzblack closed 3 years ago

lzblack commented 3 years ago

https://github.com/michael4227/OIM3640/blob/2c474d5fca804cd7fb20eb25c6c8eb29d1c37b43/session05/quadratic.py#L6-L10

Why print/return a, b, c (which are given in function)?

lzblack commented 3 years ago

Please always test the function you create.

michael4227 commented 3 years ago

Hi professor, I modified the code and it is working now. I put brackets at the wrong place and did not understand the return function when I was first writing it