CJCoding With Joseph
15free / daySign inCreate account

Dog Years

Ask for a dog's age with the prompt Dog age? (space after the question mark), convert it with int(), multiply by 7 and print That is <value> in human years. Input: one line, an integer. The prompt is part of the output and input() does not move to a new line, so the prompt and the sentence share one output line.

Expected Output:

Dog age? That is 21 in human years.

= newline. The output ends with a newline — print one after the last line.

Hints3 available
Topics:
User Input
📥 Auto-Input:
3\n
This input is automatically fed to your program's stdin
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.