Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
This is Very Hard!
#13
(Aug-16-2020, 11:54 AM)jefsummers Wrote: The hint about division makes the first actually a bit more obvious.

What if you multiplied all of the numbers in the list together, then divided that number by the numbers in each position to generate your array?

Second part, without division, multiply the numbers in the list except (ie use if statement) for the one in the position determined by your loop index.

First thing, from an educator - think about what the assignment is trying to teach you. That will be the first step. Here you are learning about lists and loops.
Thanks!
Reply


Messages In This Thread
This is Very Hard! - by Harshil - Aug-14-2020, 03:53 PM
RE: This is Very Hard! - by ndc85430 - Aug-14-2020, 03:55 PM
RE: This is Very Hard! - by Harshil - Aug-14-2020, 04:00 PM
RE: This is Very Hard! - by Gribouillis - Aug-14-2020, 04:24 PM
RE: This is Very Hard! - by deanhystad - Aug-14-2020, 07:47 PM
RE: This is Very Hard! - by DPaul - Aug-15-2020, 05:48 AM
RE: This is Very Hard! - by buran - Aug-15-2020, 06:27 AM
RE: This is Very Hard! - by ndc85430 - Aug-15-2020, 06:27 AM
RE: This is Very Hard! - by Harshil - Aug-15-2020, 07:50 AM
RE: This is Very Hard! - by DPaul - Aug-15-2020, 08:44 AM
RE: This is Very Hard! - by buran - Aug-15-2020, 10:28 AM
RE: This is Very Hard! - by jefsummers - Aug-16-2020, 11:54 AM
RE: This is Very Hard! - by Harshil - Aug-16-2020, 11:59 AM
RE: This is Very Hard! - by DPaul - Aug-16-2020, 05:09 PM

Forum Jump:

User Panel Messages

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