Hi
i just started coding in python (literally today) and i missed the first lecture where we had a coding session because i was sick. so basicly i am stuck with some assignments that i have no clue what to do with. what i need is kind of a code example that shows me how to code these stuff. ok im gonna paste in some of the assignments here. im not completley sure about the translations but yea hopefully if there are any python coders here i think they will understand :3
-----
Create the following amounts(masses?): A = (1, 2, 3, 4), B = (3, 4, 5), C = (5), and let U = (0, 1, 2, 3, 4, 5, 6 , 7). test if the following expression is true using pen and paper, and then in Python.
ok i can understand amost alll of these. like "1. is true" and "4. is true" however i have no clue on how they are supposed to be coded into python, or how it should look like. hell i don't even know if this is enough information :<. but yea if anyone understands anything, please give an example of 1 or 2 codes on how it should look like.
Thanks
Gabi~
P.S: the swedish text on 3. says "try these aswell (using "frozenset") <-- would be nice with an example aswell :>
i just started coding in python (literally today) and i missed the first lecture where we had a coding session because i was sick. so basicly i am stuck with some assignments that i have no clue what to do with. what i need is kind of a code example that shows me how to code these stuff. ok im gonna paste in some of the assignments here. im not completley sure about the translations but yea hopefully if there are any python coders here i think they will understand :3
-----
Create the following amounts(masses?): A = (1, 2, 3, 4), B = (3, 4, 5), C = (5), and let U = (0, 1, 2, 3, 4, 5, 6 , 7). test if the following expression is true using pen and paper, and then in Python.
ok i can understand amost alll of these. like "1. is true" and "4. is true" however i have no clue on how they are supposed to be coded into python, or how it should look like. hell i don't even know if this is enough information :<. but yea if anyone understands anything, please give an example of 1 or 2 codes on how it should look like.
Thanks
Gabi~
P.S: the swedish text on 3. says "try these aswell (using "frozenset") <-- would be nice with an example aswell :>