已知s1和s2是两个集合,则返回结果必然为True的选项包括()
A: s1.symmetric_difference(s2).issubset(s1)
B: s1.symmetric_difference(s2).issuperset(s1)
C: s1.intersection(s2).issubset(s1)
D: s1.intersection(s2).issubset(s2)
A: s1.symmetric_difference(s2).issubset(s1)
B: s1.symmetric_difference(s2).issuperset(s1)
C: s1.intersection(s2).issubset(s1)
D: s1.intersection(s2).issubset(s2)
举一反三
- 以下程序的输出结果是 String s1="1",s2="2"; String s=s1+s2; System.out.println(s);
- 设s="abcd",s1="123",则执行语句s2=InsStr(s,2,s1)后,s2=()
- 已知s1和s2是两个集合,则返回结果必然为True的选项包括( )。? s1.union(s2).issubset(s1)|s1.union(s2).issuperset(s1)|s1.difference(s2).issubset(s1)|s1.difference(s2).issuperset(s1)
- 有两个字符数组s1,s2,则以下正确的输入语句是() A: scanf("%s%s",s1,s2); B: gets("s1"),gets("s2"); C: scanf("%s%s",&s1,&s2); D: gets(s1,s2);
- 定义chars1[50],s2[50],则正确输入语句是:() A: gets(s1,s2); B: gets(s1[],s2[]) C: scanf("%s%s",&s1,&s2) D: scanf("%s%s",s1,s2)