Changes between Version 24 and Version 25 of python


Ignore:
Timestamp:
Dec 4, 2011, 6:19:43 PM (13 years ago)
Author:
Leon Kos
Comment:

Polepšaj pascalov pri vaji 31

Legend:

Unmodified
Added
Removed
Modified
  • python

    v24 v25  
    462462Na zaslon izpiši [http://en.wikipedia.org/wiki/Pascal's_triangle Pascal-ov trikotnik] ([http://sl.wikipedia.org/wiki/Pascalov_trikotnik Pascal's triangle]) za 8 vrstic v spodaj prikazani obliki.
    463463
     464{{{
    4644651
    465 
    4664661 1
    467 
    4684671 2 1
    469 
    4704681 3 3 1
    471 
    4724691 4 6 4 1
    473 
    4744701 5 10 10 5 1
    475 
    4764711 6 15 20 15 6 1
    477 
    4784721 7 21 35 35 21 7 1
    479 
     473}}}
     474
     475Če v ukazu print ne želimo prehod v novo vrsto dodamo na koncu vejico!
    480476
    481477= Nizi, vektorji, matrike =