← Back to User Input
Question 172
Double The Number
Double The Number
Read a whole number and print a sentence that shows it and its double in the form <num> doubled is <result>; negative numbers double too. Input: one line, an integer, read with a bare input() and no prompt.
Expected Output:
7 doubled is 14= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
User Input
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.