class Tabell:
def __init__(self, mupp, smurf):
self.mupp = mupp
self.smurf = smurf
# Huvudprogram
import math
li = list()
for n in range(9,0,-1):
li.append(Tabell(n,math.pow(n,0.5)))
for n in range(len(li)):
print li[n].mupp,' ',li[n].smurf
Vad representerar "Tabell(n,math.pow(n,0.5)" i ovanstående program?
Select one or more of the following: