1. s3 = s1 . s2
2. s3 = s1.add(s2)
3. s3 = s1.__add__(s2)
4. s3 = s1 * s2
s3 = s1.__add__(s2)
1. A
2. B
3. a
4. Error
A
1. a
2. b
3. c
4. A
c
1. print(“helloexampletest.txt”)
2. print(“hello\example\test.txt”)
3. print(“hello”example”test.txt”)
4. print(“hello”example”test.txt”)
print(“hello\\example\\test.txt”)
1. ttWorldn
2. ttWorldn
3. ttWORLDn
4. World
World
1. Error
2. int
3. bool
4. str
str
1. hello123
2. hello
3. Error
4. hello6
Error
1. DCBA
2. A, B, C, D
3. D C B A
4. D, C, B, A will be displayed on four lines
D C B A
1. Welcome# 111#924.66
2. Welcome#111#924.66
3. Welcome#111#.66
4. Welcome # 111#924.66
Welcome # 111#924.66
1. 0
2. 1
3. -1
4. 2
1