Find the output of the following program:
a = [x for x in (x for x in 'Geeks 22966 for Geeks' if x.isdigit()) if
(x in ([x for x in range(20)]))]
print(a)
[2, 2, 9, 6, 6]
[ ]
Compilation error
Runtime error
This question is part of this quiz :
Python List Quiz