LearnPy Hub
← Recursion & Lambda problems
Easy

Lambda Square

Store a lambda that squares a number in a variable sq, then print sq applied to each input number on one line.

Input

One line of integers.

Output

One line.

Sample 1

Input
1 2 3
Output
1 4 9

Sample 2

Input
-4
Output
16
solution.py
Output appears here
Lambda Square · Python practice problem · LearnPy Hub