Notices
Results 1 to 2 of 2

Thread: Python triangle

  1. #1 Python triangle 
    New Member
    Join Date
    Nov 2011
    Posts
    4
    How to make a program in python which showing:11 11 2 11 3 3 11 4 6 4 11 5 10 10 5 1..........


    Reply With Quote  
     

  2.  
     

  3. #2  
    Forum Bachelors Degree Shaderwolf's Avatar
    Join Date
    Dec 2005
    Location
    OPSEC, baby. Sorry.
    Posts
    425
    If you look at a calculator, you can find the different numbers on the different levels in a pascal's triangle by using the "Combinations" function. (nCr) If I remember right, 3c2 is the third set second number, so: it would equal 3... I know I'm off somewhere, but they are related and you could use that function in your program. does that help at all?


    Here's the problem with questions like "what would we see if we traveled faster than the speed of light". Since the rules that govern the universe as we understand them do not allow for such a possibility, to imagine such an event forces us to abandon those rules. But that leaves us no guide by which to answer the question. We have no idea as to what rules to replace them with, and we can't give an answer. - Janus
    Reply With Quote  
     

Similar Threads

  1. Python
    By CavalierAlex in forum Computer Science
    Replies: 1
    Last Post: August 10th, 2011, 11:39 AM
  2. Python?
    By GiantEvil in forum Computer Science
    Replies: 6
    Last Post: April 19th, 2011, 03:27 AM
  3. Triangle problem
    By evariste.galois in forum Mathematics
    Replies: 16
    Last Post: October 12th, 2009, 02:43 AM
  4. Egyptian triangle
    By thyristor in forum Mathematics
    Replies: 1
    Last Post: April 8th, 2008, 02:47 PM
Bookmarks
Bookmarks
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •