Python Pioneers: A Beginner's Guide 🇪🇹
8.83K subscribers
346 photos
40 videos
24 files
64 links
Welcome to Python Pioneers: Empowering Ethiopian students to embark on their coding journey.

📢 Channel: @python_pioneers
👥 Group: @python_pioneers_chat
Download Telegram
2. What will be the output of the following code?
x = "Python"
y = "Programming" print(x + y)
Anonymous Quiz
33%
a) Python Programming
34%
b) PythonProgramming
24%
c) Error
9%
d) ProgrammingPython
3. What does the following code print?
x = "Hello"
print(x[1:])
Anonymous Quiz
21%
a) H
49%
b) ello
24%
c) Hello
7%
d) Error
5. What is the result of the following code?
x = 3
y = 4 z = 5 x, y, z = z, y, x print(x, y, z)
Anonymous Quiz
14%
a) 4 3 5
57%
b) 5 4 3
16%
c) 3 5 4
12%
d) Error
1. What is the output of the following code?
x = 5
y = 2 print(x / y)
Anonymous Quiz
9%
a) 2
75%
b) 2.5
4%
c) 2.0
13%
d) Error
8. What will the following code output?
x = 10
y = 5 print(x == y)
Anonymous Quiz
10%
a) True
79%
b) False
10%
c) Error
2%
d) None
7. What is the result of the following code?
x = [1, 2, 3]
x = x * 2 print(x)
Anonymous Quiz
13%
a) [1, 2, 3]
35%
b) [1, 2, 3, 1, 2, 3]
41%
c) [2, 4, 6]
11%
d) Error
👍1
6. What will be the output of the following code?
x = 5
y = 2 print(x // y)
Anonymous Quiz
38%
a) 2
44%
b) 2.5
7%
c) 3
11%
d) 5
9. What will be the output of the following code?
x = [1, 2, 3]
x[0] = 10 print(x)
Anonymous Quiz
18%
a) [1, 2, 3]
63%
b) [10, 2, 3]
8%
c) [2, 3]
11%
d) Error
10. What is the result of the following code?
x = 10
y = 20 print(x is y)
Anonymous Quiz
9%
a) True
73%
b) False
7%
c) None
11%
d) Error
11. What will be the output of the following code?
x = [10, 20, 30]
y = x y[1] = 100 print(x)
Anonymous Quiz
27%
a) [10, 100, 30]
30%
b) [10, 20, 30]
30%
c) [100, 20, 30]
12%
d) Error
14. What is the output of the following code?
x = 3
y = 5 print(x == y)
Anonymous Quiz
8%
a) True
77%
b) False
8%
c) 3
8%
d) 5
15. What will be the output of the following code?
x = "Hello"
x += " World" print(x)
Anonymous Quiz
40%
a) HelloWorld
42%
b) Hello World
9%
c) Error
9%
d) WorldHello
17. What is the result of the following code?
x = 5
y = 2 z = 2 print(x // y == z)
Anonymous Quiz
33%
a) True
49%
b) False
12%
c) Error
6%
d) None
16. What will the following code output?
x = [1, 2, 3]
x.append(4) print(len(x))
Anonymous Quiz
21%
a) 3
53%
b) 4
19%
c) 5
6%
d) 6
18. What will be the output of the following code?
x = [1, 2, 3]
x[1:] = [10, 20] print(x)
Anonymous Quiz
33%
a) [1, 10, 20]
22%
b) [10, 20]
35%
c) [1, 10, 20, 3]
10%
d) Error
19. What will be the output of the following code?
x = "abc"
x = x * 3 print(x)
Anonymous Quiz
64%
a) abcabcabc
18%
b) abc
16%
c) Error
2%
d) abcabc
👍1
20. What will the following code output?
x = 1
y = "1" print(x == y)
Anonymous Quiz
26%
a) True
47%
b) False
11%
c) 1
16%
d) Error
❤1👍1
21. What will be the result of the following code?
x = 5
x = x * 2 print(x)
Anonymous Quiz
0%
a) 5
76%
b) 10
8%
c) 7
16%
d) Error