edmontonpy.com
@edmontonpy
devedmonton.slack.com
When standing as a group of people, always leave room for 1 person to join your group."
example_set_one = set([1,2,3])
example_set_two = set([3,4,5])
# combine the sets together
# use "union" function for this
print(example_set_one.union(example_set_two))
# output: {1, 2, 3, 4, 5}
# only print elements that are in both sets
# use "intersect" funtion for this
print(example_set_one.intersection(example_set_two))
# output: {3}
# find the difference between the sets
# use "difference" for this
print(example_set_one.difference(example_set_two))
# this basically means any elements from
# "example_set_two" is removed from "example_set_one"
# same as "example_set_one - example_set_two"
# output: {1, 2}
The Use of Round() in Python 2 and 3
Ken Hawrylak
When Python becomes a couch potato; deferred evaluation with generators
Sam Ezebunandu
NEXT MEETUP ON JANUARY 13 2020