Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C
changing tuple values
maxwello
Programming language:
C
2021-03-09 21:18:01
3
Q:
changing tuple values
Ran
Code:
C
2021-03-01 12:06:17
x = ("apple", "banana", "cherry") y = list(x) y[1] = "kiwi" x = tuple(y) print(x)
2
Tags
value
values
New to Communities?
Join the community