We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b623a2f commit 659c4fdCopy full SHA for 659c4fd
Status/Day 2.md
@@ -227,6 +227,21 @@ mylist = input().split(',')
227
print(*(round(sqrt(2*C*int(D)/H)) for D in mylist), sep=",")
228
```
229
---
230
+```python
231
+
232
+'''Solution by: saxenaharsh24
233
+'''
234
235
+my_list = [int(x) for x in input('').split(',')]
236
+C, H, x = 50, 30, []
237
238
+for D in my_list:
239
+ Q = ((2*C*D)/H)**(1/2)
240
+ x.append(round(Q))
241
242
+print(','.join(map(str, x)))
243
+```
244
+---
245
246
# Question 7
247
0 commit comments