rage / python-kesa20

https://python-k20.mooc.fi
0 stars 7 forks source link

Fix wrong variable name in material #24

Closed jhamberg closed 4 years ago

jhamberg commented 4 years ago

In osa-4/3-listat.md the following example is given:

suurin = max(lista)
pienin = min(lista)
pituus = len(lista)

print("Pienin:", pienin)
print("Suurin:", suurin)
print("Listan pituus:", summa)

Here, the last print should use pituus instead of summa which is not defined.

vercel[bot] commented 4 years ago

This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/mooc/python-s20/fnzqi8rro ✅ Preview: https://python-s20-git-fork-jhamberg-master.mooc.vercel.app

pllk commented 4 years ago

Kiitos!