Question: Write a Python program to create a variable named num _ float 1 and num _ float 2 . Assign 2 6 . 1 3

Write a Python program to create a variable named num_float1 and num_float2. Assign 26.13275367 to num_float1 and 26.13275369 to num_float2. Write a Python program to compare these two numbers and check if they are equal.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!