We use make the python print more wonderful with f string (formatted string)
x=1
y=2
z=x+y
print(f'result {x}+{y}={z}')
this will print
result 1+2=3
We can make it more wonderful directly adding expression
x=1
y=2
print(f'{x} times {y} is {x * y}')
We can also set the decimal places in the print
number = 1.123456789
print(f'Four decimal places result {number:.4f}')
#result Four decimal places result 1.1235
#its shows the last digit 5 rather than 4 because of rounded number value