vault backup: 2023-11-24 14:43:31
This commit is contained in:
parent
39fe17ca01
commit
56bf5c13f3
6
.obsidian/workspace.json
vendored
6
.obsidian/workspace.json
vendored
@ -156,11 +156,11 @@
|
|||||||
"command-palette:Open command palette": false
|
"command-palette:Open command palette": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"active": "c473a791e2b34194",
|
"active": "41ec48cdc3af71a1",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
"Prog/Collections.md",
|
|
||||||
"Algo/B2/Exercises/Repetitive tutorial.md",
|
|
||||||
"Algo/B2/Exercises/Imperative exercise.md",
|
"Algo/B2/Exercises/Imperative exercise.md",
|
||||||
|
"Algo/B2/Exercises/Repetitive tutorial.md",
|
||||||
|
"Prog/Collections.md",
|
||||||
"Prog/Array.md",
|
"Prog/Array.md",
|
||||||
"Algo/B2/Exercises",
|
"Algo/B2/Exercises",
|
||||||
"Algo/B2",
|
"Algo/B2",
|
||||||
|
@ -74,3 +74,5 @@ def main():
|
|||||||
else:
|
else:
|
||||||
print("set a 3 digits number")
|
print("set a 3 digits number")
|
||||||
main()
|
main()
|
||||||
|
```
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ def productZ(x, y):
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Exercise 1.3
|
## Exercise 1.3
|
||||||
```
|
```python
|
||||||
def exponetial(x: int, n: int) -> int:
|
def exponetial(x: int, n: int) -> int:
|
||||||
result = 0
|
result = 0
|
||||||
while n > 0:
|
while n > 0:
|
||||||
@ -115,3 +115,4 @@ def my_sum(n: int) -> int:
|
|||||||
s += u(n)
|
s += u(n)
|
||||||
n -= 1
|
n -= 1
|
||||||
return s
|
return s
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user