Skip to main content
Stack Overflow
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Draft saved
Draft discarded
Cancel
10
  • why are there two loops? Commented Nov 2, 2013 at 20:01
  • developers.google.com/edu/python Commented Nov 2, 2013 at 20:02
  • @dm03514: If there shouldn't be, please improve it and answer my question. Thanks! Commented Nov 2, 2013 at 20:03
  • You’re doing the factorial of 1–1000 times 1001^1000. That’s kind of fun. Anyways, it looks like it should be firstnumber * multiplication, not number * multiplication. Commented Nov 2, 2013 at 20:03
  • Change the 1001 to a smaller number like 5 and you'll probably see what's wrong with your code. Commented Nov 2, 2013 at 20:03

lang-py

AltStyle によって変換されたページ (->オリジナル) /