Question: I have got an error that says: ValueError: invalid literal for int() with base 10: '' I have created a .txt file which include 5

I have got an error that says: ValueError: invalid literal for int() with base 10: '' I have created a .txt file which include 5 number 1 2 3 4 5 and I have limitation to write these number in a single line as the question mentioned. It deosn't work! What type of the line may I use? and can you show me an example of the line which works with this code? Best Regards

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!