Error in Module 2 in assesment

If anyone facing error in both these modules

I think your string variable is taking spaces as an input at the end of your word. Please look at that, this might be the cause of assessment failure.

1 Like

Hey, have you passed the command line argument. Read the TODOS carefully and solve. Good Luck :slight_smile:

1 Like

i have already solved the issue without using bc -l command
The main cause of the assessment failure was because i was doing calculation with decimal point
thanks for you help!

1 Like