soucet_bodu #70
Loading…
Reference in a new issue
No description provided.
Delete branch "soucet_bodu"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -356,0 +355,4 @@
suma_bodu = 0
hodnoceni = list(hodnoceni)
for i in hodnoceni :
if i.body != None : suma_bodu += i.body
Jen poznámka:
None
je lepší porovnávat pomocíis
(resp.is not
):if i.body is not None: ...
(Je to běžnější kód a možná lehce rychlejší)