You’re not calling your main() function anywhere.
Try adding main()
before the final raw_input
line.
Also, your whitespace seems to be a bit messed up from where you copied to stack overflow. For example, the return s
line should be inside the bubblesort
function.
Another mistake is that, for the line print "Your input: " + x
, you need to convert x
to a string. So str(x)
instead.
5
solved Bubble sort code doesn’t work, returns no output. Please assists