How to Play ? ๐ฎ
Welcome to BPP ! Hereโs how you can start solving Python problems:
๐ Steps to play :
- Select a problem from the homepage list.
- Write your code in the built-in editor.
- Use the provided
input_cases
variable as input for your program. - Click the Run ๐โโ๏ธ button to execute your code.
- Check the test results to see if your solution is correct.
- Keep trying until all tests are passed โ .
๐ฅ How to use input_cases ?
Each problem provides an input list called input_cases
. Your program should process these values and print the expected result.
Example:
Suppose the problem asks you to add two numbers, and input_cases
is given as:
input_cases = [2, 3]
Your code should process this input and output:
print(input_cases[0] + input_cases[1])
Expected output:
5
๐ก Tips:
- Read the problem statement carefully before coding.
- Use print() statements to debug your code.
- If you're stuck, try breaking the problem into smaller steps.
- Feel free to check the Python documentation if needed.