What is the correct syntax for creating a variable that is bound to a set?

  • myset = {0, ‘apple’, 3.5}
  • myset = to_set(0, ‘apple’, 3.5)
  • myset = (0, ‘apple’, 3.5).to_set()
  • myset = (0, ‘apple’, 3.5).set()
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment

Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend