There’s a nice syntactic sugar for debugging with f-strings: if you place an equal sign, it will print both the variable name and the value. For example:
>>> f"{name=}"
'name=Rodrigo' >>> f"{name=}"
'name=Rodrigo'It wasn’t added until Python 3.8 (f-strings were new in 3.6).