Source Code:
(back to article)
# Beispielliste my_list = [1, 2, 3, 4] # Liste in Tuple umwandeln my_tuple = tuple(my_list) print(my_tuple) # Ausgabe: (1, 2, 3, 4)
Result:
Report an issue