I think the 'print' instruction in python doesn't have that syntax. The function bubbleSort is write into ''' ''' signs that means comment. If I copy and paste that code in my IDE as a beginner it won't work properly.