A variable keeps a value you can reuse. In Python, enter price = 120 and quantity = 3 on separate lines. Then run print(price * quantity). It prints 360. Change quantity to 5 and predict the new total.
Java uses types. In int score = 7, int tells Java to store a whole number. Java rejects 7.5 as an int because it has a decimal part. Try double score = 7.5 when the decimal matters.
HTML gives a page structure. Use h1 for the main heading and p for a paragraph. CSS controls how they look. Draft a page about your favourite subject with a heading, a paragraph and a list of three topics.
Enter 120, 180 and 300 in cells B2 to B4. Use =SUM(B2:B4) for a total of 600 and =AVERAGE(B2:B4) for an average of 200. Replace 300 with 360, then calculate the new average. Check that you get 220.
Past deliveries took 20, 30 and 40 minutes. Use their mean of 30 minutes as a prediction for future deliveries. A new delivery took 36 minutes, so the absolute error is 6 minutes. Try a delivery that took 22 minutes. Check that its error is 8 minutes.
A task form sends a title to the server. The server checks it and saves it, then the page shows the saved task. Sketch this flow and add two checks. A blank title should show an error, and a saved task should still appear after the page reloads.