Skip to content

Commit b743e71

Browse files
authored
Update Day 2.md
1 parent 654030d commit b743e71

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Status/Day 2.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ print(tpl)
4747
### **Question:**
4848

4949
>***Define a class which has at least two methods:***
50-
>* ***getString: to get a string from console input***
51-
>* ***printString: to print the string in upper case.***
50+
>* ***getString: to get a string from console input***
51+
>* ***printString: to print the string in upper case.***
5252
5353
>***Also please include simple test function to test the class methods.***
5454
@@ -193,9 +193,9 @@ print(",".join(D))
193193

194194
>***Write a program which takes 2 digits, X,Y as input and generates a 2-dimensional array. The element value in the i-th row and j-th column of the array should be i * j.***
195195
196-
>*** Note: i=0,1.., X-1; j=0,1,¡­Y-1. Suppose the following inputs are given to the program: 3,5***
196+
>***Note: i=0,1.., X-1; j=0,1,¡­Y-1. Suppose the following inputs are given to the program: 3,5***
197197
198-
>*** Then, the output of the program should be:***
198+
>***Then, the output of the program should be:***
199199
```
200200
[[0, 0, 0, 0, 0], [0, 1, 2, 3, 4], [0, 2, 4, 6, 8]]
201201
```
@@ -294,7 +294,7 @@ PRACTICE MAKES PERFECT
294294

295295
----------------------
296296
### Hints:
297-
>*** In case of input data being supplied to the question, it should be assumed to be a console input.***
297+
>***In case of input data being supplied to the question, it should be assumed to be a console input.***
298298
299299
-------------------
300300
**Main author's Solution: Python 2**

0 commit comments

Comments
 (0)