10 August 2026
Double It
Easy
Fundamentals
Given an integer, return double its value.
Write a function that takes a single integer and returns twice its value. This is a deliberately simple first challenge, used to test the platform end to end rather than to be a genuine puzzle.
Constraints
-1000000 <= x <= 1000000
Function signature
def double(x: int) -> int: