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

hw5 ss while

Language: Layout:
+ ] Show input
Absolute running time: 0.38 sec, cpu time: 0.44 sec, memory peak: 16 Mb, absolute service time: 0,39 sec 
edit mode |  history  | discussion
Error(s), warning(s):
Traceback (most recent call last):
  File "source_file.py", line 28, in <module>
    r=SelectionSort(s)
  File "source_file.py", line 17, in SelectionSort
    print ("Max number: ", y[maxy])
UnboundLocalError: local variable 'maxy' referenced before assignment

        

    
                
λ
.NET NoSQL database for rapid development