LearnPy Hub
← NumPy problems
Easy

Which Are Bigger Than k?

Read integers and then k. Print the boolean array a > k as a list.

Input

Two lines.

Output

A Python list.

Sample 1

Input
1 5 3 8
4
Output
[False, True, False, True]

Sample 2

Input
10
10
Output
[False]
solution.py
Output appears here
Which Are Bigger Than k? · Python practice problem · LearnPy Hub