Back

Can not insert item in tuple

Created 4 years ago
26 Views
2 Comments
SonaliDabhade
@SonaliDabhade
SonaliDabhade
@SonaliDabhadeProfile is locked. Login
z= ('bike', 'car', 30, 40, 50) y = list(z) y[1]="oranges" x = tuple(y) print(x) getting error: TypeError: 'tuple' object is not callable
Comments (2)
Please login to comment.