Imprimir número de hasta 2 decimales en f string python
variable = 77.05750066143399
# Print variable upto 2 decimal places using f-string
print(f"Variable upto 2 decimal places : {variable:.2f}")
################# Output #################
Variable upto 2 decimal places : 77.06
##########################################
# don't forget to upvote :)
Saurabh Zinjad