Foorum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

IT

Foorum :: Old :: Whatever

Go down

IT Empty IT

Post  rrobot rom Wed Jan 26, 2011 9:39 am



import random

suurus = int(input("Massiivi külg:"))
massiiv = []

for ridu in range(suurus):
ridu = []
for b in range(suurus):
a=random.randrange(1,100)
ridu.append(a)
massiiv.append(ridu)
print(massiiv)



#B)

summa=0

for i in range


Ära maha võta, ma homseks salvestan kodus.
rrobot rom
rrobot rom
Draakon

Posts : 387
Join date : 2010-10-20
Location : Patricku voodi all

Back to top Go down

Back to top


Foorum :: Old :: Whatever

 
Permissions in this forum:
You cannot reply to topics in this forum