Python Forum
Project 4 Shape Calculator FreeCodeCamp
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Project 4 Shape Calculator FreeCodeCamp
#5
Take a look at implementation of theget_amount_inside function. You have condition that does not work. Code blocks in after if and after else statements are the same. Moreover, you compute area and divide it to production of width and height (i.e. area too). This is why you got 1. I don't understand what get_amount_inside means. amount of what?
Reply


Messages In This Thread
RE: Project 4 Shape Calculator FreeCodeCamp - by scidam - Sep-14-2020, 12:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Turtle Graphics Help - Filling each shape in Nate 10 13,145 Nov-27-2018, 08:40 AM
Last Post: Nate
  ValueError: shape mismatch: value array of shape... ulrich48155 2 26,618 Jul-10-2017, 02:17 PM
Last Post: ulrich48155

Forum Jump:

User Panel Messages

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