finish extra/power-hungry #19
@ -1,4 +1,6 @@
|
|||||||
def solution(xs):
|
def solution(xs):
|
||||||
|
if len(xs) == 1:
|
||||||
|
return str(xs[0])
|
||||||
result = 1
|
result = 1
|
||||||
max_negative = 0
|
max_negative = 0
|
||||||
for power in xs:
|
for power in xs:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user