Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Uniform Cost Search

 run  | edit  | history  | help -1

Taking the given input is resulting into error .Can you suggest something? The error is as follows:

Traceback (most recent call last): File "E:/assignments/", line 50, in <module> main() File "E:/assignments/", line 46, in main graph = readGraph() File "E:/assignments/", line 33, in readGraph line = input() File "<string>", line 1 Arad Zerind 75 Timisoara 118 Sibiu 140 ^ SyntaxError: invalid syntax

  by  harshita, 4 years ago

This Code is not able to backtrack. Can someone please correct this. I am a beginner in python programming and I don't know how to correct this code. Thanks

  by  Pavi, 1 years ago

Please log in to post a comment.