Fix the programExercise 6/6Elementary20 XP
The area of a rectangle
Task
The program should read the sides of a rectangle (each on its own line) and print its area. For 3 and 4 it should print 12, but it ends with an error. Fix it.
Examples
Input
3 4
Expected output
12
After you submit, 2 hidden tests will also check your solution: a side of 0, a square.
You need to know
Python starts the first time you run code.
Ctrl+Enter runs the program. Tab indents. Press Esc, then Tab, to leave the editor.
Input (stdin)
Each line = one call to input().
Output
Hints
Try it yourself first. Each hint reveals a little more - and lowers the reward a little.
Signed out, hints are free - but no XP is awarded either.
Solution
The solution unlocks after the last hint.