Question: 1 1 Write a block of code (no function needed) that asks the user for input with the string Enter a float: and will convert
1 1 Write a block of code (no function needed) that asks the user for input with the string "Enter a float: "and will convert that input to a float. The variable the input should be stored in should be called "myFloat". For example: [ ut of Fi on Tir Test Input Result print(is instance (myFloot, float)) 10 Enter a float: 10 True print(isinstance (myFloat, float)) 15.2 Enter a float: 15.2 True
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
