Skip to content

Instantly share code, notes, and snippets.

@pralabhsaxena05
Created December 10, 2021 06:44
Show Gist options
  • Save pralabhsaxena05/bc3831e44b7f67b9e92e70caf2fd7a85 to your computer and use it in GitHub Desktop.
Save pralabhsaxena05/bc3831e44b7f67b9e92e70caf2fd7a85 to your computer and use it in GitHub Desktop.
numbers = [1, 2, 3, 4]
words = ['One', 'Two', 'Three', 'Four']
result = zip(numbers, words)
# converting values to print as set
result = set(result)
print('The zipped result is: ', result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment