Zed-King Institute

    Python Practice Questions

    New question every time · Checked instantly

    Solve a Python programming question, press Check, and your program is run against hidden test cases in real Python. Then take the next one — the numbers change every time, so it never repeats.

    Solved 0 / 0 Streak 0
    1

    Read the question

    easyInput and operators

    Simple interest

    Read the principal, the rate of interest (% per year) and the time in years — three integers, one per line. Print the simple interest SI = P × R × T / 100.

    Sample input

    17000
    10
    1

    Sample output

    Simple Interest = 1700.0
    2

    Write your answer

    Input for Run

    Output

    Press Run to try your program.
    See it explained

    How This Practice Works

    1. Read the question. Choose Easy, Medium or Hard if you want a particular level.
    2. Write your answer in the editor and press Run to try it with the sample input.
    3. Press Check answer. Every requirement is tested and you see exactly which ones passed.
    4. Press Next question for a new one. Each question is generated with new values, so you do not get the same one twice.
    5. Your score and streak are kept on this device. A question counts as solved only if you solve it before opening the solution.

    Frequently Asked Questions

    How are the Python questions checked?

    Your program is run in real Python inside your browser with the sample input and with a hidden test input. The values your program prints are compared with the right answer. Prompts such as "Enter a number:" and extra words are ignored — the numbers and results must be right.

    Will I get the same question again?

    Rarely. Every question is generated with new numbers and words, and this device remembers what you have already seen, so you keep getting fresh questions.

    Which topics are covered?

    Input and operators, if/else, for and while loops, strings, lists, dictionaries, functions, nested loops and patterns — the topics of NIELIT O Level M3-R5.1 and the PR-3 practical.

    What if I cannot solve a question?

    Open the hint first. If you are still stuck, Show solution displays a model answer. Type it yourself instead of copying — that is how it stays in memory.

    Is it free?

    Yes, free and without login. Your score and streak are saved on this device.