PRACTICE CODE SNIPPETS

PRACTICE CODE SNIPPETS

Search This Blog

Thursday, August 11, 2022

tuple to list

 tuple1=("python","java","script")





y=list(tuple1)
print(y)
y[1]="c language"
x=tuple(y)
print(x)

No comments:

Post a Comment

Practice and let me know for nw code snippets