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

Write a Python program to create a variable named num_float. Assign 26.13275367 to num_float. Convert num_float to integer. Create another variable named num_int and assigned the integer value of num_float to this variable.

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!