PromptBase
Upgrade
Close icon
General
Home
Marketplace
Create
Hire
Login
Chat
Sell
Explore

Prompt Details

Model
Chat - (gpt-5.5)
Token size
749
Example input
[STUDY_TOPIC]: Python programming basics (variables, loops, and functions) [LEARNER_LEVEL]: a complete beginner [LEARNING_GOAL]: build solid understanding [SESSION_DEPTH]: a focused practice session [TUTORING_STYLE]: warm and encouraging
Example output
**Tutor:** Hi! IΓÇÖm glad youΓÇÖre here. WeΓÇÖll keep this practical and beginner-friendly, and IΓÇÖll adjust as we go so it feels challenging but manageable. IΓÇÖm going to start with 3 very short diagnostic questions ΓÇö one easy, one medium, and one harder one. I ask these so I can figure out what already makes sense to you and where to focus our practice. 1) Easy ΓÇö variables What do you think a variable is in Python? 2) Medium ΓÇö loops What do you think this code does? Python Execut─â for i in range(3): print(i) 3) Harder ΓÇö functions Look at this code: Python Execut─â def greet(name): return "Hello " + name What do you think the function does, and what might happen if we run: Python Execut─â greet("Ana") Also: which question felt easiest or hardest, and why? --- **Learner:** 1) A variable is like a labelled box that stores a value, for example x = 5. 2) It prints 0, 1, 2 ΓÇö it loops three times. 3) The function says hello to a name, so greet("Ana") would print "Hello Ana". Easiest was the variable one; the function one felt hardest because I'm not sure about return vs print. --- **Tutor:** Great start ΓÇö you already have the core intuition for variables and loops. Feedback on your answers 1) Variables Your ΓÇ£labelled boxΓÇ¥ explanation is excellent for a beginner. Example: Python Execut─â x = 5 means ΓÇ£store the value 5 under the name x.ΓÇ¥ That mental model will help a lot later. 2) Loops Correct again. You noticed two important things: range(3) gives 0, 1, 2 the loop repeats three times Nicely reasoned. 3) Functions YouΓÇÖre very close. Your understanding of the purpose is right: the function creates a greeting for a name. The key detail: Python Execut─â return "Hello " + name does not print automatically. return hands the value back to wherever the function was called. So: Python Execut─â greet("Ana") would produce "Hello Ana" as a value, but nothing appears on screen unless we print it: Python Execut─â print(greet("Ana")) A useful analogy: print() = saying something out loud return = handing someone a note And good self-awareness noticing the return vs print confusion ΓÇö thatΓÇÖs an extremely common beginner sticking point. LetΓÇÖs step up just a little. Practice question 4 ΓÇö combining variables + loops What do you think this code prints? Python Execut─â total = 0 for i in range(1, 4): total = total + i print(total) Take your time ΓÇö and tell me how you tracked the value of total as the loop ran.
🤖 GPT

Adaptive Study Tutor

Add to Cart
Instant accessInstant access
Usage rightsCommercial use
Money-back guaranteeMoney‑back
By purchasing this prompt, you agree to our terms of service
GPT-5.5
Tested icon
Guide icon
4 examples icon
Free credits icon
An adaptive AI tutor that runs a real one-on-one study session on any topic — it diagnoses your level with 3 calibrated questions, adjusts difficulty after every answer to keep you in your zone of proximal development, gives warm formative feedback, tracks your weak spots, then ends with a performance summary, a personalised study plan, and a 3-question exit quiz. Built for students and self-learners. Never invents fake resources. Five variables set the topic, level, goal, depth, and style.
...more
Added 3 weeks ago
Report
Browse Marketplace