a = [1, 5, 3, 9, 4, 2, -3, -1, 45]
r = ""
for x in a:
w = 2 * x + 6
if w > 0:
if r == "":
r = f"{w}"
else:
r = f"{r}, {w}"
print(r)
рад !
a=input().split()
b=[]
for i in a:
if float(i)>=0.5 and float(i)<=100:
b.append(i)
print(b)
a = [1, 5, 3, 9, 4, 2, -3, -1, 45]
r = ""
for x in a:
w = 2 * x + 6
if w > 0:
if r == "":
r = f"{w}"
else:
r = f"{r}, {w}"
print(r)
рад !
a=input().split()
b=[]
for i in a:
if float(i)>=0.5 and float(i)<=100:
b.append(i)
print(b)