Programming Language Python List MCQ Question #3874
Single Choice Not Set

QWhat will be the output after the following statements?
a = [-3, -1, 0, 1, 3]
print([i**4 for i in a])

ID: #3874 Python List MCQ 258 views
Question Info
#3874Q ID
Not SetDifficulty
Python List MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A [81, 1, 0, 1, 81]
  • B [-81, -1, 0, 1, 81]
  • C [16, 1, 0, 1, 16]
  • D [-16, -1, 0, 1, 16]
Correct Answer

Explanation

[81, 1, 0, 1, 81]

Share This Question

Challenge a friend or share with your study group.