num1 = 3.1425467389
num2 = 10.2903948

#Various forms to format strings

#print("num1 is:",num1,"and num2 is:",num2)

#format method
#print("num1 is {0:.3f} and num2 is {1:.3f}".format(num1, num2))

#using f-strings
print(f"num1 is {num1:.4f} and num2 is {num2:.4f}")