Skip to content

Results for “python”

14 prompts

Create a 6-week coding course for a [age]-year-old using [Scratch / Python / block coding]. Each week: a fun project (game or animation), the concept it teaches, step-by-step instructions, and a challenge extension.

ChatGPT
Education & Learning

Learn coding for kids

Fun, playful coding lessons for children.

0

Write a pandas script to clean this CSV: [describe columns and problems, e.g. mixed date formats, duplicates, missing values, inconsistent names]. Log each cleaning step, keep a summary of rows changed, and save a clean file.

ChatGPT
Coding & Development

Python data cleaning script

Cleans messy CSV data into an analysis-ready table.

0

Write Python code using [matplotlib/plotly] to visualise [data description] as [chart type]. Add a clear title, labelled axes, readable fonts, sensible colors, annotations for key points, and save as PNG.

ChatGPT
Coding & Development

Chart from data with Python

Readable, well-labelled charts from your data.

0

Build a minimal web chatbot in [stack] that calls the [AI provider] API. Include a chat UI, conversation history, a system prompt for [use case], streaming responses, API key stored in environment variables, and basic rate limiting.

ChatGPT
Coding & Development

Build a simple AI chatbot with an API

A minimal chatbot app that calls an AI model API.

0

Write a Python class for [purpose, e.g. a shopping cart]. Include type hints, docstrings, validation, a clean public API, and pytest unit tests covering normal use and edge cases.

ChatGPT
Coding & Development

Write a Python class with tests

A well-designed Python class with type hints and unit tests.

0

Write a FastAPI endpoint for [operation, e.g. creating an order]. Use Pydantic models for request and response, validate [fields], return proper status codes, handle errors, and include an example request with curl and a pytest test.

ChatGPT
Coding & Development

Python FastAPI endpoint

A typed FastAPI endpoint with validation and error handling.

0

Act as a senior Django developer. Django version: [version] Feature: [description] Models and fields: [details] Users and permissions: [details] Generate: models with Meta options and __str__, admin with list_display/filters/search, forms with validation, class-based views, URLs, templates outline, and tests. Explain…

ChatGPT
Coding & Development

Django model, admin and views

Create Django models, admin configuration, forms and views for a new feature.

0

Write a [Python / Node.js] script to transform data. Input format and sample: [paste] Desired output format and sample: [paste] Rules: [renames, filters, calculations, date formats] The script should read from a file, handle missing or malformed values, log problems, write the output file, and be easy to rerun. Includ…

ChatGPT
Coding & Development

Data transformation script

Convert, clean and reshape data between JSON, CSV and other formats with a reusable script.

0

Act as a computer science teacher for children. Age group: [age] Concept: [sequences, loops, conditionals, variables, debugging] Group size: [number] Time: [minutes] Materials: [paper, cards, floor space] Design an unplugged activity with: learning goal, setup, step-by-step instructions, how it connects to real code,…

ChatGPT
Education & Learning

Teach kids coding concepts without a computer

Fun unplugged activities that teach sequences, loops, conditions and debugging to children.

0

Act as a data analyst using Python and pandas. Data: [file type and columns with example values] Questions I want answered: [list] Issues I know about: [missing values, inconsistent formats] Write a script or notebook steps to: 1. Load and inspect the data 2. Clean it (types, missing values, duplicates, outliers) 3. A…

ChatGPT
Coding & Development

Data analysis with pandas

Load, clean, analyse and chart your data with pandas, with explanations for each step.

0

Explain this error in plain English and help me fix it. Language/framework: [e.g. Python 3.12 / Node 20 / Laravel] What I was doing: [action] Error: ``` [paste error and stack trace] ``` Relevant code: ``` [paste code] ``` Please give: 1. What the error means 2. The most likely cause (and other possible causes) 3. The…

ChatGPT
Coding & Development

Explain an error message and fix it

Paste a confusing error or stack trace and get a plain-English explanation, the likely cause and a fix.

0

Act as a Python developer. Website: [URL or type of site] Data to extract: [fields] Pages: [single page / pagination / list of URLs] Output: [CSV / JSON] Write a script using requests + BeautifulSoup (or Playwright if the page needs JavaScript) that: - Respects robots.txt and adds a delay between requests - Sets a cle…

ChatGPT
Coding & Development

Python web scraper

Build a polite, robust web scraper that extracts structured data and saves it to CSV or JSON.

0