
groups in python
Authored by Mohamed Abdulhaq
Instructional Technology
8th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
OPEN ENDED QUESTION
3 mins • 1 pt
من خصائص المجموعات إذا عندي مجموعتين
xgroup={"A","B"}
&
ygroup={"C","D"}
وقمت بعمل الآتي ماذا يحدث
Z=xgroup.union(ygroup)
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
3 mins • 1 pt
من خصائص المجموعات إذا عندي مجموعتين
وقمت بعمل الآتي ماذا يحدث
xgroup={"A","B"}
ygroup={"C","D"}
xgroup.update(ygroup)
print(xgroup)
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
3 mins • 1 pt
في الكود الآتي ماذا سيحدث
xgroup={"A","B"}
xgroup.add("C")
print (xgroup)
Evaluate responses using AI:
OFF
4.
OPEN ENDED QUESTION
3 mins • 1 pt
في الكود الآتي ماذا سيحدث
xgroup={"A","B"}
print ("B" in xgroup)
print ("F" in xgroup)
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
3 mins • 1 pt
في الكود الآتي ماذا سيحدث
xgroup={"A","B"}
print (len(xgroup))
Evaluate responses using AI:
OFF
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?