Skip to main content
tech futures.Introduction to AI

Lesson 2: Different Types of AI

Activity: Generating Code

In this activity you will use Lumen to generate some Python code for some small programs and run the code in our online editor.

Instructions

  1. Use Lumen to generate a program with either loops or variables and inputs.
  2. Copy the code into the online editor and run it (see the "How do I run the code?" section for more instructions)
  3. Try steps 1 and 2 a few more times with different programs
  4. Think about the discussion question below and talk about your ideas with a classmate

Online code editor:

Think about what you could generate with AI code generation tools. What are some things you would like to create?