• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: computing 20! all the way
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: computing 20! all the way


  • Subject: Re: computing 20! all the way
  • From: has <email@hidden>
  • Date: Fri, 12 Nov 2004 18:39:55 +0000

David Sowder wrote:

p = 1
for i in range( 1, 20 ):
  p = i * p
  #print i, p
print p

Second line should read:

for i in range(1, 21):

has
--
http://freespace.virgin.net/hamish.sanderson/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: n! script
  • Next by Date: Re: "exists" fooled by "rm"?
  • Previous by thread: Re: set a mail content in a File Maker text field
  • Next by thread: Count lines
  • Index(es):
    • Date
    • Thread