AI Engineering Bootcamp – Week 1 Lesson Note
Topic: Introduction to AI & Python Basics
Duration: 4 Hours
Part A – Introduction to AI & AI Engineering
Definition of AI: Artificial Intelligence (AI) is the ability of machines to perform tasks that normally
require human intelligence.
Examples: speech recognition, translation, chatbots, self-driving cars.
Types of AI:
• Narrow AI – AI designed for one task (e.g., Netflix recommendations, spam filter).
• General AI – Still research, AI that can think and reason like humans.
Who is an AI Engineer?
An AI Engineer builds applications that use AI models to solve real-world problems, working with
data, machine learning, LLMs, APIs, and cloud systems.
Classwork 1: Write down 3 problems in Nigeria/Africa where AI could be applied.
Part B – Python Basics
1. Python Setup & First Program
# Our first Python program
print("Hello, World!")
print("Welcome to AI Engineering Bootcamp!")
print("We are starting with Python.")
Classwork 2: Write a program that prints your full name and favorite food.
2. Variables & Data Types
name = "Aisha" # string
age = 23 # integer
height = 5.6 # float
is_student = True # boolean
print(name)
print(age)
print(height)
print(is_student)
print(type(name)) # <class 'str'>
Classwork 3: Create variables for name, age, height, and student status.
3. Operators
x = 10
y = 3
print(x + y) # 13
print(x - y) # 7
print(x * y) # 30
print(x / y) # 3.333...
print(x % y) # 1
print(x ** y) # 1000
print(x > y) # True
print(x == y) # False
print(x > 5 and y < 5) # True
print(x > 5 or y > 10) # True
print(not(x > 5)) # False
Classwork 4: Write a program that takes two numbers and prints their sum, difference, and which
one is greater.
4. Strings & Formatting
first_name = "Aisha"
last_name = "Yusuf"
full_name = first_name + " " + last_name
print(full_name)
print(full_name.upper())
print(full_name.lower())
print(full_name.replace("Aisha", "Fatima"))
age = 23
print(f"My name is {full_name} and I am {age} years old.")
Classwork 5: Ask the user for their name and hobby, then print a message.
Mini Project – User Profile Generator
name = input("Enter your name: ")
age = input("Enter your age: ")
gender = input("Enter your gender: ")
hobbies = input("Enter two hobbies (comma-separated): ")
print("\n--- User Profile ---")
print(f"Hello, {name}!")
print(f"You are {age} years old.")
print(f"Gender: {gender}")
print(f"Your hobbies are: {hobbies}")
Assignment
• Modify the User Profile Generator to allow any number of hobbies.
• Research and write one page on: 3 AI-powered apps used in Nigeria daily and how they help
users.