vault backup: 2023-11-13 13:53:33
This commit is contained in:
parent
bb839a2db9
commit
1de055a9fb
@ -1,13 +1,10 @@
|
|||||||
## Exercise 1:
|
## Exercise 1:
|
||||||
```python
|
```python
|
||||||
def test (n: int) -> bool:
|
def test (n: int) -> bool:
|
||||||
if (n >= 100):
|
return n >= 100 and n < 100
|
||||||
if (n < 1000):
|
|
||||||
return true
|
def sum_digits (n: int) -> int:
|
||||||
else:
|
|
||||||
return false
|
|
||||||
else:
|
|
||||||
return false
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Exercise 2:
|
## Exercise 2:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user