How do you debug a Python program?

Hi, I want to know How do you debug a Python program

Please read

There is also the nice f-string debugging syntax, which you can learn in

https://tirkarthi.github.io/programming/2019/05/08/f-string-debugging.html