โ
DAY 5
Conditionals: if and else (Python)
Conditionals are used to make decisions in a program.
Syntax
Example
Output
---
โ Uses True/False conditions
โ Executes different code blocks
โ Very important for beginners
Conditionals: if and else (Python)
print("What are conditionals?")Conditionals are used to make decisions in a program.
Syntax
if condition:
# code runs if condition is True
else:
# code runs if condition is False
Example
age = 18
if age >= 18:
print("You are eligible to vote")
else:
print("You are not eligible to vote")
Output
You are eligible to vote
---
โ Uses True/False conditions
โ Executes different code blocks
โ Very important for beginners
๐1
Try to rebuild the calculator using conditionals as well if you have questions then feel free to ask!!
โ
DAY 6 Python elif & Nested Conditions
handles two conditions
is used when there are more than two possibilities.
Python checks conditions from top to bottom.
The first True condition runs, the rest are ignored.
โ ๏ธ Order matters!
An if inside another if.
Real Life Example
python
print('Why elif?')
if/else
handles two conditions
elif
is used when there are more than two possibilities.
score = 75
if score >= 90:
print("Grade: A")
elif score >= 70:
print("Grade: B")
else:
print("Grade: C")
print("Flow Of Execution")Python checks conditions from top to bottom.
The first True condition runs, the rest are ignored.
โ ๏ธ Order matters!
print("Nested if Statements")An if inside another if.
age = 20
has_id = True
if age >= 18:
if has_id:
print("Access granted")
else:
print("ID required")
else:
print("Underage")
Real Life Example
balance = 500
if balance > 0:
if balance >= 1000:
print("Premium user")
else:
print("Standard user")
else:
print("No balance")
๐ฅ1
Are you passionate about using #artificialIntelligence to solve real-world problems? Do you have an AI-powered idea or prototype that can improve public services in #Ethiopia?
The Ethiopian Artificial Intelligence Institute invites innovators, researchers, students, startups, and public-interest technologists to apply for Eth-Timbuktoo AI UniPod; a collaborative AI studio focused on building solutions with real public impact.
Participants will work in multidisciplinary teams, receive expert mentorship, and strengthen AI solutions designed for Ethiopiaโs digital and institutional context. This is a unique opportunity to collaborate, learn, and transform innovative ideas into practical tools for better public services.
๐ Apply here: [https://forms.gle/inHZ9sByu73QsiJP7]
๐ Application Deadline: December 20, 2025
๐ Phone: +251 904187791 / +251 943545950
follow ๐ t.me/ignitic_tech
Women applicants are highly encouraged to apply.
Join us and be part of shaping AI for better public services.
The Ethiopian Artificial Intelligence Institute invites innovators, researchers, students, startups, and public-interest technologists to apply for Eth-Timbuktoo AI UniPod; a collaborative AI studio focused on building solutions with real public impact.
Participants will work in multidisciplinary teams, receive expert mentorship, and strengthen AI solutions designed for Ethiopiaโs digital and institutional context. This is a unique opportunity to collaborate, learn, and transform innovative ideas into practical tools for better public services.
๐ Apply here: [https://forms.gle/inHZ9sByu73QsiJP7]
๐ Application Deadline: December 20, 2025
๐ Phone: +251 904187791 / +251 943545950
follow ๐ t.me/ignitic_tech
Women applicants are highly encouraged to apply.
Join us and be part of shaping AI for better public services.
I hope you guys are practicing what i am posting here. the last five days are productive for you guys because we are advancing to sections that are a little bit more advanced sections that require your time and practice
โ
Day 7
Python Lists (Collections Basics)
In real life, you make lists all the time:
- Shopping list
- Contact list
- Student list
In Python, a list is used to store multiple values in a single variable.
Instead of doing this โ:
You do this โ :
Python Lists (Collections Basics)
print("What are Python Lists?")In real life, you make lists all the time:
- Shopping list
- Contact list
- Student list
In Python, a list is used to store multiple values in a single variable.
Instead of doing this โ:
student1 = "Ali"
student2 = "Sara"
student3 = "John"
You do this โ :
students = ["Ali", "Sara", "John"]
๐ A list:
* Can store many values
* Can store different data types
* Keeps items in order
* Allows duplicates
* Can be changed(mutable)
* Can store many values
* Can store different data types
* Keeps items in order
* Allows duplicates
* Can be changed(mutable)
Creating a List
Syntax:
Examples:
๐ Important:
Lists are written using square brackets [ ]
Syntax:
list_name = [item1, item2, item3]
Examples:
numbers = [1, 2, 3, 4]
names = ["Nova", "Alex", "Marta"]
mixed = [1, "Python", True, 3.5]
๐ Important:
Lists are written using square brackets [ ]
Accessing List Items (Indexing) โ VERY IMPORTANT
Each item in a list has a position number, called an index.
๐ Python starts counting from 0, not 1.
Example:
| Item | Index |
| ---- | ----- |
| Ali | 0 |
| Sara | 1 |
| John | 2 |
Each item in a list has a position number, called an index.
๐ Python starts counting from 0, not 1.
Example:
names = ["Ali", "Sara", "John"]
| Item | Index |
| ---- | ----- |
| Ali | 0 |
| Sara | 1 |
| John | 2 |
Accessing Items:
โ ๏ธ Common Mistake:
Because index 3 does not exist.
print(names[0]) # Ali
print(names[1]) # Sara
print(names[2]) # John
โ ๏ธ Common Mistake:
print(names[3]) # ERROR (index out of range)
Because index 3 does not exist.
Changing List Items (Mutability)
Lists are mutable, meaning you can change them after creation.
๐ Strings and numbers alone cannot be changed like this, but lists can.
Lists are mutable, meaning you can change them after creation.
names = ["Ali", "Sara", "John"]
names[1] = "Nova"
print(names)
['Ali', 'Nova', 'John']
๐ Strings and numbers alone cannot be changed like this, but lists can.
Adding Items to a List
โ append() โ add to the end
Output:
โ insert() โ add at a specific index
Result:
โ append() โ add to the end
numbers = [1, 2, 3]
numbers.append(4)
print(numbers)
Output:
[1, 2, 3, 4]
โ insert() โ add at a specific index
numbers.insert(1, 10)
Result:
[1, 10, 2, 3, 4]
Removing Items from a List
โ remove() โ remove by value
โ pop() โ remove by index (or last item)
๐ pop() is useful when you want the last added item removed.
โ remove() โ remove by value
numbers.remove(10)
โ pop() โ remove by index (or last item)
numbers.pop() # removes last item
numbers.pop(0) # removes first item
๐ pop() is useful when you want the last added item removed.
Length of a List (len())
To know how many items are in a list:
Output:
This is very useful with loops.
To know how many items are in a list:
fruits = ["apple", "banana", "mango"]
print(len(fruits))
Output:
3
This is very useful with loops.
For Today Lets stop here and try these. if you finish these you can go ahead check about looping through lists it will be our tomorrow challenge that we will tackle.
Forwarded from INSA Cyber Talent Center
แจแขแแณ แณแญแ แญ แณแแแต แจแฆแแญแ แฅแ แ
แณแ แฅแ แฅแแต แตแแ แ แแแตแ แต แแแแฃ แ แ
แญแฅ แฅแแแแซแแแข แ แฐแแญ แ แณแญแ แญ แฐแ
แแแต แฅแ แดแจแแแแแต แแแช แฅแ แขแแตแญแแฒแฌแต แจแแแฝแ แซแแแแแฝแ แจแถแตแต แแญ แตแแ แ แตแแ แแแแฃแ แฅแแณแซแแแฃแฝแแข แแแฐแแต แแฐแแปแฝแแ แแจแแแ แ แตแญแทแธแแข แ แตแญแ แแแฎ แฅแ แ แ แแ แต แแแ แจแณแญแ แญ แฐแ
แแแต แฃแแแซ แจแแซแฐแญแแตแ แตแแ แ แ แแป แญแแฐแฑแข
@insactc
@insactc
๐ฅ1
Call for Startup Registration!
The Ministry of Innovation and Technology (MInT) invites startups operating in Ethiopia to register through the official Startup Registration Form.
Registering through this platform is an important step toward startup designation under the Startup Act Proclamation.
The information you submit will help MInT recognize your startup, strengthen communication, and provide access to tailored technical, policy, and ecosystem support programs.
All eligible startups are strongly encouraged to apply and complete the form accurately, as registration supports ecosystem mapping, future program participation, and official engagement with the national startup ecosystem.
Apply here: https://forms.gle/dooQVozBwFqx8sDK7
For inquiries and support, please contact the Ministry of Innovation and Technology through the official email startupregistration@mint.gov.et
The Ministry of Innovation and Technology (MInT) invites startups operating in Ethiopia to register through the official Startup Registration Form.
Registering through this platform is an important step toward startup designation under the Startup Act Proclamation.
The information you submit will help MInT recognize your startup, strengthen communication, and provide access to tailored technical, policy, and ecosystem support programs.
All eligible startups are strongly encouraged to apply and complete the form accurately, as registration supports ecosystem mapping, future program participation, and official engagement with the national startup ecosystem.
Apply here: https://forms.gle/dooQVozBwFqx8sDK7
For inquiries and support, please contact the Ministry of Innovation and Technology through the official email startupregistration@mint.gov.et
โค4
แจแขแแฐแ /INSA แจแแญ แขแแต/weekend แจแณแแแต แแแต แแฎแแซแ แแแแฃ แฐแแแจ
แแฎแแซแ แจแแฐแฅแ แต แแแต - แ แณแแแฑ แแจแจแป แ แณแ แฅแ แฅแแต
แแฎแแซแ แจแแฐแ แ - แ แฒแต แ แ แฃ แขแแฐแ แณแแแต แแฅแจแ
แแฎแแซแแ แแณแฐแ แจแแฝแ
1.แ แณแญแ แญ แฅแ แ แแณแฐแแต แแญแแฝ แแญแ แแญ แแฉ แณแแแต แซแแธแ แฅแ แจแแซแจแฏแธแแ แแฎแแญแถแฝ แแณแจแต แจแแฝแ
2.แฐแแ แจแแซแแแแแ แแฐแ/แปแแแ แแแ แจแแฝแ
3.แ แณแ แฅแ แฅแแต แฐแแแแฐแ แแณแฐแ แจแแฝแ
4.แจแ แแฐแ แฐแจแ แแแฎ แฅแตแจ แฉแแจแญแตแฒ แฐแแซแ
แแแแฃแ แจแแฐแจแแ แต แแแตแแญแ แแแ แแฎแแซแ แฐแฅแ แ แฐแแแ แแญแณแ - https://talent.insa.gov.et
แจแแแแฃ แแ แจแฅแญ 27 - แจแซแฒแต 07 แตแจแต
แตแแแฎแแซแ แแฅแซแชแซ แจแแแ แ แณแแแต แแฅแจแ แจแดแแแซแ แปแแ
https://t.me/insactc
https://t.me/cteinsa
แ แแแฃแต แแแแต แจแแตแฝแ แแแแ แฅแแณแแแแแข ๐ข INSA Weekend Talent Development Program โ Registration Open
The Information Network Security Administration (INSA) invites talented individuals to apply for its Weekend Talent Development Program in cyber security and related fields.
๐ Schedule: Saturdays & Sundays
๐ Location: IMDEA Talent Center, Addis Ababa
Eligible applicants:
โ๏ธ Talented individuals with demonstrable projects
โ๏ธ Those who pass INSAโs exam/challenge
โ๏ธ Primary school students to university graduates
โ๏ธ Must be available on weekends
๐ Registration: February 04 โ February 14
๐ Apply at: https://talent.insa.gov.et
โน๏ธ More info:
https://t.me/insactc
| https://t.me/cteinsa
แแฎแแซแ แจแแฐแฅแ แต แแแต - แ แณแแแฑ แแจแจแป แ แณแ แฅแ แฅแแต
แแฎแแซแ แจแแฐแ แ - แ แฒแต แ แ แฃ แขแแฐแ แณแแแต แแฅแจแ
แแฎแแซแแ แแณแฐแ แจแแฝแ
1.แ แณแญแ แญ แฅแ แ แแณแฐแแต แแญแแฝ แแญแ แแญ แแฉ แณแแแต แซแแธแ แฅแ แจแแซแจแฏแธแแ แแฎแแญแถแฝ แแณแจแต แจแแฝแ
2.แฐแแ แจแแซแแแแแ แแฐแ/แปแแแ แแแ แจแแฝแ
3.แ แณแ แฅแ แฅแแต แฐแแแแฐแ แแณแฐแ แจแแฝแ
4.แจแ แแฐแ แฐแจแ แแแฎ แฅแตแจ แฉแแจแญแตแฒ แฐแแซแ
แแแแฃแ แจแแฐแจแแ แต แแแตแแญแ แแแ แแฎแแซแ แฐแฅแ แ แฐแแแ แแญแณแ - https://talent.insa.gov.et
แจแแแแฃ แแ แจแฅแญ 27 - แจแซแฒแต 07 แตแจแต
แตแแแฎแแซแ แแฅแซแชแซ แจแแแ แ แณแแแต แแฅแจแ แจแดแแแซแ แปแแ
https://t.me/insactc
https://t.me/cteinsa
แ แแแฃแต แแแแต แจแแตแฝแ แแแแ แฅแแณแแแแแข ๐ข INSA Weekend Talent Development Program โ Registration Open
The Information Network Security Administration (INSA) invites talented individuals to apply for its Weekend Talent Development Program in cyber security and related fields.
๐ Schedule: Saturdays & Sundays
๐ Location: IMDEA Talent Center, Addis Ababa
Eligible applicants:
โ๏ธ Talented individuals with demonstrable projects
โ๏ธ Those who pass INSAโs exam/challenge
โ๏ธ Primary school students to university graduates
โ๏ธ Must be available on weekends
๐ Registration: February 04 โ February 14
๐ Apply at: https://talent.insa.gov.et
โน๏ธ More info:
https://t.me/insactc
| https://t.me/cteinsa
โฐ ONLY 1 WEEK LEFT! โ๏ธ
Hult Prize OnCampus AASTU 2026 Registration DEADLINE: FEBRUARY 23RD!
๐๐ Theme: UNLIMITED
Form teams of 2-4, craft for profit startups tackling any UN SDG, and compete for $1M! ๐ฐ
Scan the QR code or click here to register NOW ๐
https://www.hultprize.org/register
Don't miss this chance register NOW!
Follow us: Telegram | Instagram | LinkedIn | TikTok
Contact: @contacthultprizeaastu
Hult Prize OnCampus AASTU 2026 Registration DEADLINE: FEBRUARY 23RD!
๐๐ Theme: UNLIMITED
Form teams of 2-4, craft for profit startups tackling any UN SDG, and compete for $1M! ๐ฐ
Scan the QR code or click here to register NOW ๐
https://www.hultprize.org/register
Don't miss this chance register NOW!
Follow us: Telegram | Instagram | LinkedIn | TikTok
Contact: @contacthultprizeaastu
โค2
Forwarded from INSA Cyber Talent Center
INSA 2018 summer camp registration ... https://www.linkedin.com/posts/semework-eshetu-60b383173_insa-2018-summer-camp-registration-opening-share-7450066276032503808-qJJ0?utm_source=share&utm_medium=member_desktop&rcm=ACoAACkq86sBpR5w30BlAuQ2aOSHxe-xQypSyUg
LinkedIn
๐ด INSA 2018 Summer Camp Registration โ Opening This Week
Registration for the INSA 2018 Summer Camp begins this week.
Program Streams:โฆ
Registration for the INSA 2018 Summer Camp begins this week.
Program Streams:โฆ
๐ด INSA 2018 Summer Camp Registration โ Opening This Week
Registration for the INSA 2018 Summer Camp begins this week.
Program Streams:
Cyber Security
Software Development
Embedded Systems
Drone & Aerospace Technology
Emerging Technologies (AI, IoT, and more)โฆ
Registration for the INSA 2018 Summer Camp begins this week.
Program Streams:
Cyber Security
Software Development
Embedded Systems
Drone & Aerospace Technology
Emerging Technologies (AI, IoT, and more)โฆ