str de tuple de flotteur
x = str((1, 20, 2.0))
y = tuple(float(s) for s in x.strip("()").split(","))
print(y)
(1.0, 20.0, 2.0)
Odd Okapi
x = str((1, 20, 2.0))
y = tuple(float(s) for s in x.strip("()").split(","))
print(y)
(1.0, 20.0, 2.0)