This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | from collections import defaultdict | |
| from heapq import * | |
| def dijkstra(edges, f, t): | |
| g = defaultdict(list) | |
| for l,r,c in edges: | |
| g[l].append((c,r)) | |
| q, seen = [(0,f,())], set() | |
| while q: | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | class സൂചിക: | |
| """ | |
| മലയാളത്തിൽ പൈതോണ് കോഡ് ചെയ്യാം എന്നുള്ളതിനുള്ള തെളിവ് | |
| Proof that python can use malayalam language (Only on Python 3x) | |
| """ | |
| def സൂചിക(self): | |
| print(u"പൈതോണ് ഇപ്പോൾ മലയാളത്തിലും !") | |
| സൂചി =സൂചിക() | |
| സൂചി.സൂചിക() |