Open Handson do below steps
step1: Run --- Install
step2: Run --- Run
step3: Run --- Open preview(open the page in another tab)
Now open juputer notebook(IPYNB extension file) copy paste below code at last cell
after copy pasting use (cltr + enter) to run the cell
(Note: Don't run every cell last cell is enough and wait till installation complete
takes sometime)
##########################################################
import numpy as np
score = 0.8277777777777777
print("score",score)
with open('output.txt', 'w') as file:
file.write(str(np.mean(score)))
##########################################################
After successfully completion return to hackerrank page
step4: Run -- Test
you will get output ("output.txt exists.")