Advertisement
Guest User

Untitled

a guest
May 29th, 2015
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.42 KB | None | 0 0
  1. numeri = 2, 3, 0
  2. matrice = {
  3.     0 : ['--**--','-*--*-','-*--*-','-*--*-','--**--'],
  4.     1 : ['--*--','-**--','--*--','--*--','-***-'],
  5.     2 : ['-***-','----*','--**-','-*---','-****'],
  6.     3 : ['-***-','----*','--**-','----*','-***-'],
  7.     4 : ['--*--','-*--*','-****','----*','----*'],
  8.     5 : ['-****','-*---','-***-','----*','-***-'],
  9. }
  10.  
  11. for i in range(5):
  12.     linea = ""
  13.     for n in numeri:
  14.         m = matrice[n]
  15.         linea += m[i]
  16.     print(linea)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement