salary calculator
wzh14727

to calculate your salary
I am confused that how to save the py file???

You are viewing a single comment. View All
Muffinlavania

If you want to save the salary at the end, you can just pop it into a .txt file

19ecal

@Muffinlavania You will need to close it at the end when you're done with f.close(), or use with like this

Muffinlavania

@19ecal yea sorry, forgot to include that (but everything else should work)
and f.close() is a bit easier in my opinion