Created
May 3, 2020 19:16
-
-
Save raeq/227c5fa3f2f17df1a50bb23c8fc893a7 to your computer and use it in GitHub Desktop.
Casting sets and tuples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
geolocation:tuple = (25.001, 25.001) | |
students:set = {"Harry", "Tom", "Jane", "Sally"} | |
print(set(geolocation)) | |
print(tuple(students)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment