Skip to content

Commit 7d06811

Browse files
author
Abdul Hannan (Kamrul)
authored
Update 100+ Python challenging programming exercises for Python 3.md
1 parent e6404bb commit 7d06811

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

100+ Python challenging programming exercises for Python 3.md

+17
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,23 @@ for d in items:
176176
print(','.join(value))
177177
```
178178

179+
180+
My solution:
181+
```
182+
import math
183+
d = input()
184+
185+
d1 = d.split(',')
186+
187+
lst = []
188+
for i in d1:
189+
q = math.sqrt((2*50*int(i))/30)
190+
lst.append(str(round(q)))
191+
192+
print(','.join(lst))
193+
```
194+
195+
179196
### Question 7
180197
Level 2
181198

0 commit comments

Comments
 (0)