Basic Calculator

Python Easy 3 views
Back to Questions
Next Quotient and Remainder Easy N

Problem Description

Input has two integers a and b and an operator op are provided (+, -, *, /, %). For / do integer floor division like Python //. Output the result.

Input Format

One line: a b op.

Output Format

One integer result.

Sample Test Case

Input:
10 3 /
Output:
3

Constraints

-10^18

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Next