65.1k views
0 votes
7.4 Code 1 Edhesive assignment

7.4 Code 1 Edhesive assignment-example-1
User Jerseyboy
by
7.9k points

1 Answer

2 votes

Answer:

I have attached a screenshot of the program. This ensures that the formatting is not destroyed

Step-by-step explanation:

The isnumeric() method checks to see if the string is composed of only digits 0 - 9. So entering a float number such as 4.2 or a negative number will fail the test on line 3

7.4 Code 1 Edhesive assignment-example-1
User Tsdexter
by
6.9k points