Question: pic 2 is a 4 . py code, i get error when testing it: Traceback ( most recent call last ) : File /

pic 2 is a4.py code, i get error when testing it: Traceback (most recent call last):
File "/home/a4.py", line 67, in
main()
File "/home/a4.py", line 45, in main
u, v,_= map(int, input().split())
^^^^^^^
ValueError: invalid literal for int() with base 10: '0.802'
please follow all instruction on pic 1, only modify or change a4.py without using ai to let it successfully pass the test and has correct ouput, parts of the expected output is on pic 4, since limit sapce i can only provide whole expected output of 8 node graph. Pic 3 contain all file of all graph.out is empty and graph.in with data.
 pic 2 is a4.py code, i get error when testing it:

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 Databases Questions!