Between 10 and 20 Problem

Between 10 and 20 Problem — ExecCode School DSA Practice

Solve the Between 10 and 20 problem on ExecCode. Free online school DSA practice in Combined Simple Logic. Write and run code in Java, C++, Python — no signup required to run.

Problem description

You are given one whole number N. Your task is to if N is between 10 and 20 (including 10 and 20), print True. Otherwise print False.

Examples

Input 15; Output True. Input 10; Output True

Constraints

-10^4 <= N <= 10^4

Practice Between 10 and 20 free on ExecCode. Browse DSA problems, topic map, and placement guides.