Search Header Logo

groups in python

Authored by Mohamed Abdulhaq

Instructional Technology

8th Grade

Used 1+ times

groups in python
AI

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

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?