LearnPy Hub
← All topics
Topic Practice · Basics

Variables problems

50 problems: 22 Easy, 18 Medium, 10 Hard.

Review the Variables lesson
✓1. Sum of Two Numbers
4 test cases
EasyNot tracked
✓2. Rectangle Area & Perimeter
3 test cases
EasyNot tracked
✓3. Celsius to Fahrenheit
4 test cases
EasyNot tracked
✓4. Swap Two Values
5 test cases
EasyNot tracked
✓5. Difference
5 test cases
EasyNot tracked
✓6. Product of Three
5 test cases
EasyNot tracked
✓7. Square and Cube
5 test cases
EasyNot tracked
✓8. Double and Half
5 test cases
EasyNot tracked
✓9. Circle Area
5 test cases
EasyNot tracked
✓10. Shop Total
5 test cases
EasyNot tracked
✓11. Average of Three
5 test cases
EasyNot tracked
✓12. Split the Bill
4 test cases
EasyNot tracked
✓13. Age in Days
4 test cases
EasyNot tracked
✓14. Update the Score
4 test cases
EasyNot tracked
✓15. Many at Once
4 test cases
EasyNot tracked
✓16. Sum of Two Variables
4 test cases
EasyNot tracked
✓17. Rectangle Area and Perimeter
4 test cases
EasyNot tracked
✓18. Celsius to Fahrenheit
5 test cases
EasyNot tracked
✓19. Reuse a Variable
4 test cases
EasyNot tracked
✓20. Hours to Minutes and Seconds
4 test cases
EasyNot tracked
✓21. Pocket Money Left
4 test cases
EasyNot tracked
✓22. Three Variables at Once
4 test cases
EasyNot tracked
✓23. Seconds to HH:MM:SS
4 test cases
MediumNot tracked
✓24. Running Total
5 test cases
MediumNot tracked
✓25. Speed
5 test cases
MediumNot tracked
✓26. Minutes to Hours
5 test cases
MediumNot tracked
✓27. Simple Interest
4 test cases
MediumNot tracked
✓28. Body Mass Index
4 test cases
MediumNot tracked
✓29. Weeks and Days
4 test cases
MediumNot tracked
✓30. Shopping Total
4 test cases
MediumNot tracked
✓31. Trip Fuel Cost
4 test cases
MediumNot tracked
✓32. Kilometres to Metres and Miles
4 test cases
MediumNot tracked
✓33. Seconds to h:m:s
4 test cases
MediumNot tracked
✓34. Bill With Tip, Split
4 test cases
MediumNot tracked
✓35. Swap With Arithmetic
4 test cases
MediumNot tracked
✓36. Fuel Efficiency
4 test cases
MediumNot tracked
✓37. Weighted Mark
4 test cases
MediumNot tracked
✓38. Price Change in Percent
4 test cases
MediumNot tracked
✓39. Average Speed of a Trip
4 test cases
MediumNot tracked
✓40. Cube Facts
4 test cases
MediumNot tracked
✓41. Change in Coins
5 test cases
HardNot tracked
✓42. Digits of a Number
5 test cases
HardNot tracked
✓43. Rotate Three
4 test cases
HardNot tracked
✓44. Rotate Four Values
4 test cases
HardNot tracked
✓45. Monthly Loan Payment
4 test cases
HardNot tracked
✓46. Angle Between Clock Hands
5 test cases
HardNot tracked
✓47. Compound Interest
4 test cases
HardNot tracked
✓48. Swap the First and Last Digit
4 test cases
HardNot tracked
✓49. Add Two Durations
4 test cases
HardNot tracked
✓50. Overlap of Two Rectangles
4 test cases
HardNot tracked
← Back to all topics
Variables practice problems · LearnPy Hub