Hello everyone I hope someone can explain this cod to me
there is the variable y [ ] – list how this code works. hope I'm not too boring. Here we have an input number but since Python is the default input string then it is a string and if i type 10 for example the result is 6 which is true but do not understand how y takes this number and also what does works hier “.split” bult-in functions and in the next line we attribute the same later to the variable ‘’d’. Thanks a lot in advance

# calculate Q c = 50 h = 30 # use thi formule Q = square root of [(2*c*d)/h] import math x = [] y = [i for i in input('give me a number: ').split(',')] # ????? for d in y: x.append(str(int(round(math.sqrt((2*c*float(d)/h)))))) print(','.join(x))