Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ITGK2020
borgeha forelesningskode
Commits
b3af884a
Commit
b3af884a
authored
Sep 18, 2020
by
Børge Haugset
Browse files
lagt til litt fra forelesning, og litt fra chat etterpå
parent
2a84f492
Changes
2
Hide whitespace changes
Inline
Side-by-side
uke38/breakbreak.py
0 → 100644
View file @
b3af884a
for
i
in
range
(
100
):
if
i
>
42
:
print
(
i
)
break
print
(
i
)
\ No newline at end of file
uke38/tilfeldige_tall.py
0 → 100644
View file @
b3af884a
import
random
tall
=
random
.
randint
(
0
,
100
)
for
i
in
range
(
tall
):
print
(
i
)
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment