8000 Updated session 5 slides/answers and multiple choice questions · Rarkr/intro-to-python@d410a78 · GitHub
[go: up one dir, main page]

Skip to content

Commit d410a78

Browse files
committed
Updated session 5 slides/answers and multiple choice questions
1 parent f354faf commit d410a78

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

session_05/exercises/multiple_choice_5.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@
1313
- contain
1414

1515
3. What does the random.randint() function do?
16-
1716
- picks a random number from 0 to 1
1817
- picks a random number from a range you specify - A
1918
- picks a random item from a list
2019
- picks a random function
2120

2221
4. What does the random.choice() function do?
23-
2422
- picks a random number from 0 to 1
2523
- picks a random number from a range you specify
2624
- picks a random item from a list - A
@@ -78,7 +76,7 @@ while number <= ?:
7876
number += 1
7977

8078
- 3, random
81-
- 4, randint
79+
- 4, randint - A
8280
- 5, choice
8381
- 4, random
8482

0 commit comments

Comments
 (0)
0