Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Status/Day 2.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ D = input().split(',')
D = list(map(calc,D)) # applying calc function on D and storing as a list
print(",".join(D))
```


---
```python
'''Solution by: parian5
Expand All @@ -241,6 +243,19 @@ for D in my_list:

print(','.join(map(str, x)))
```
---
```python
'''Solution by: mouhazba
'''
from math import sqrt
C = 50
H = 30
x = input('Type : => ').split(',')
rsp = list(map(lambda D: str(round(sqrt(2*C*int(D)/H))), x))

print(','.join(rsp))
```

---

# Question 7
Expand Down