Skip to content

Commit f37310b

Browse files
Add files via upload
Joining Differents Sets of Strings
1 parent 13e496d commit f37310b

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

listConcat.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
list1 = [1, 2, 3]
2+
list2 = [4, 5, 6]
3+
4+
list3 = list1 + list2
5+
6+
print(list3)

setsConcat.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
set1 = {1, 2, 3}
2+
set2 = {4, 5, 6}
3+
4+
set3 = set1 | set2
5+
6+
print(set3)

stringConcat.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
list1 = [1, 2, 3]
2+
list2 = [4, 5, 6]
3+
4+
list3 = list1 + list2
5+
6+
print(list3)

tupleConcat.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
tupla1 = (1, 2, 3)
2+
tupla2 = (4, 5, 6)
3+
4+
tupla3 = tupla1 + tupla2
5+
6+
print(tupla3)

0 commit comments

Comments
 (0)