Here is simple solution
..
x = (1,2,3)
y = list(x) #convert tuple -> list
y[0] = 10 #modify element value
x = tuple(y) #revert list -> tuple
print(x)
..
Thank you.
www.marearts.com
ππ»♂️
Here is simple solution
..
..
Thank you.
www.marearts.com
ππ»♂️
No comments:
Post a Comment