Python practice
← Back to practice
CODE CAMPUS · LIVE WORKSPACE
Write your first working program
Use this workspace to practise Python fundamentals. Start with the sample variables and output below. Then improve the program so it asks for input and calculates a result.
Editor · Python
Write code, press Run, check the output
OneCompiler provides the editor. Copy the starter example above into it, then make your changes. Refresh this page to open a fresh editor.