10000 Updated questions · ihf-code/python@a65724f · GitHub
[go: up one dir, main page]

Skip to content

Commit a65724f

Browse files
committed
Updated questions
1 parent 1735099 commit a65724f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

session_10/exercises/exercises_10.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@
2727
- iii. Delete the wheels.
2828

2929

30-
5. Write a class which has two methods get_word and print_word.
31-
- get_word accepts a string from the user and print_word prints the string in upper case.
30+
5. Create a class called Upper which has two methods called get_word and print_word.
31+
- the get_word method should accept a string from the user
32+
- the print_word method prints the string in upper case.
3233

3334
6. Create a Sandwich class with the attributes order_number and ingredients (which is given as a list).
3435
- Only the ingredients will be given as input.

0 commit comments

Comments
 (0)
0