ExamVeda
Login
Home
This question belongs to Python Program Lists In Python
Lists in Python
?

What will be the output of the following Python code?
a = [1, 5, 7, 9, 9, 1]

b=a[0]
x= 0 for x in range(1, len(a)): if a[x] > b: b = a[x] b= x print(b)

Answer & Solution
Correct Answer: Option C
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.