Aug-19-2023, 05:10 AM
Thank you @Gribouillis @buran @snippsat @deanhystad for your input :)
Meanwhile I did create what I was needed with dictionary.
But thanks to yours reply, I will improve it and make a
(the happy dance)
Meanwhile I did create what I was needed with dictionary.
But thanks to yours reply, I will improve it and make a
class
based on -->(Aug-09-2023, 03:25 PM)snippsat Wrote:class Var: def __init__(self, x: float, y: float, z: int = 1): self.x = x self.y = y self.z = z def __repr__(self): return f"Var(x={self.x}, y={self.y}, z={self.z})" var = Var(1.5, 2.5) print(var)
(the happy dance)