The program asks for two numbers and shows their sum and quotient. It catches a wrong input and a division by zero. Type two numbers in the Input box, one on each line, and press Run.
This code calls input() 2 times: one value per line, above, in the same order.
Log in to join the discussion.
Loading…