You are viewing a single comment's thread. Return to all comments →
I'm printing the expected output using following code but the test does't pass
marks = student_marks.get(query_name); total = 0; for i in marks : total = total + i; print( f'{total/3 : .2f}')
Edit: nvm, removing the spaces in print to print( f'{total/3:.2f}') fixed it. The input/expected output UI format doesn't display these spaces though
print( f'{total/3:.2f}')
Seems like cookies are disabled on this browser, please enable them to open this website
Finding the percentage
You are viewing a single comment's thread. Return to all comments →
I'm printing the expected output using following code but the test does't pass
Edit: nvm, removing the spaces in print to
print( f'{total/3:.2f}')
fixed it. The input/expected output UI format doesn't display these spaces though