Python Playground - challenge- prim's algorithm: Online Interpreter, Compiler & Editor | Sololearn