Python Forum
Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
accumulator pattern
#9
OK :)

Yes, OP's demand for program and comment is fullfilled by
print(50*202)  # sums even numbers from 2 to 200
But if his post is not a precise transcription of homework specs, then there is possibility that OP gets what he asks for, not what he wants. And without his cooperation its rhetorical question.
Reply


Messages In This Thread
accumulator pattern - by python_learner - Mar-09-2017, 05:36 PM
RE: accumulator pattern - by wavic - Mar-09-2017, 06:00 PM
RE: accumulator pattern - by Ofnuts - Mar-09-2017, 10:26 PM
RE: accumulator pattern - by zivoni - Mar-09-2017, 11:20 PM
RE: accumulator pattern - by Skaperen - Mar-10-2017, 08:18 AM
RE: accumulator pattern - by zivoni - Mar-10-2017, 09:36 AM
RE: accumulator pattern - by Ofnuts - Mar-10-2017, 10:26 AM
RE: accumulator pattern - by Ofnuts - Mar-10-2017, 08:48 AM
RE: accumulator pattern - by zivoni - Mar-10-2017, 11:11 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Accumulator/looping problem student8 5 4,485 Oct-16-2017, 01:24 AM
Last Post: ichabod801

Forum Jump:

User Panel Messages

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