What will be the output of the following code snippet?
print(2**2 + (5 + 6)**(1 + 1))
Python quick quiz
Quiz
•
Computers
•
University
•
Hard
Love Lifelong
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following code snippet?
print(2**2 + (5 + 6)**(1 + 1))
129
125
8
None of the Above
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be output if a = 8**2 and b =5
a = input()
b=input()
print(a +b)
69
21
error
8**25
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Samar
Error
Global
No Output
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output?
[2, 5, 7, 19, 22, 45, 72, 89]
(2, 5, 7, 19, 22, 45, 72, 89)
Error
{2, 5, 7, 19, 22, 45, 72, 89}
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
s = {1, 2, 3.0, 3, 2, 4, 5, 5.0}
print(s)
{1, 2, 3, 4, 5.0}
{1, 2, 3.0, 4, 5}
{1, 2, 3.0, 4, 5.0}
{1, 2, 3.0, 3, 2, 4, 5, 5.0}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
[0,1,4,9]
[0,1,4,9,16]
[0,1,4,9,16,25]
[0,1,2,3,4]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Guess output?
1
2
3
4
15 questions
Python
Quiz
•
University
13 questions
Unit 12 - Functional Programming
Quiz
•
12th Grade - University
13 questions
#include <\c>
Quiz
•
University
10 questions
basic programming quiz
Quiz
•
University
10 questions
C Programming Quiz-6
Quiz
•
University
10 questions
C Program Array and strings
Quiz
•
University
15 questions
Java Quiz based on array
Quiz
•
University
15 questions
Quiz Algoritma Looping
Quiz
•
University
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade