+ 2
#import math nums = [1, 3, 5, 2, 4] a=((len(nums)) b= a//2 if b==1: print("math.ceil(a) : ",math.ceil(a))
what was the mistake
1 Odpowiedź
+ 1
b does not equal 1, so none of that will work and a is not a decimal. also you don’t need the second parentheses around len(nums)