Monday 21 September 2026
CodingDrills.au
Complete 3 warm up questions to unlock bonus challenges!
Square a Number
Warm Up Question1 of 3
Write a program that takes a number, squares it, then outputs the value.
Input Format
One line containing a number.
Output Format
One line containing the answer.
Example
Input:
9
Output:
81
Python Code Editor
2:59
# Write your Python code here
Complete 3 more warm up questions to unlock bonus challenges!