14 lines
188 B
Markdown
14 lines
188 B
Markdown
## Exercise 1:
|
|
```python
|
|
def test (n: int) -> bool:
|
|
return n >= 100 and n < 100
|
|
|
|
def sum_digits (n: int) -> int:
|
|
a = n//100
|
|
b = (n//10)%10
|
|
c = n%10
|
|
return (a+b+c)
|
|
```
|
|
|
|
## Exercise 2:
|