Coding Tidbit | Visualizing Bubble Sort in Python

preview_player
Показать описание
In this video I use the Pygame library to visualize the "Bubble Sort" sorting algorithm
Рекомендации по теме
Комментарии
Автор

Hey I did the same exact code yet there are no bars created like the whole screen is white I did rechecked the code and it is same as yours. I'm using pycharm

manmohansingh
Автор

I have comment: pygame.draw.rect(screen, (0, 0, 0), (x, 400, data_width, height), 0)
DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using __int__ is deprecated and may be removed in a future version of Python. How to fix it, please advise. Thank you in advance.

johnwhite
Автор

Hello can you post the code somewhere?
Nice video!

Raptr
visit shbcf.ru