Python Forum
Manually raising two error types with a function that computes sqfeet to sqmeters
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Manually raising two error types with a function that computes sqfeet to sqmeters
#6
Wrap code in python tags please. There is a button in the editor for doing this.

What is your question. Do you not know how to raise an exception or do you not know how to identify if a str can be converted to a number?

This sounds like some kind of homework. What are the instructions for the assignment?
Reply


Messages In This Thread
Raising Errors - by sean1 - Nov-12-2021, 01:30 AM
RE: Raising Errors - by deanhystad - Nov-12-2021, 02:50 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  a generator that computes squares of first 20 natural numbers mdshamim06 1 9,031 Oct-01-2019, 10:38 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020