🐍 Day 7 β€” Operators in Python

Operators allow Python to perform actions such as calculations, comparisons, and logic-based decisions.


πŸ”Έ 1. Arithmetic Operators

Used for math

+   -   *   /   %   **   //



Example:

x = 10
y = 3
print(x + y) # 13


πŸ”Έ 2. Comparison Operators

Used to compare values (returns True/False)

==   !=   >   <   >=   <=



Example:

print(5 > 2)   # True


πŸ”Έ 3. Logical Operators

Used for conditions and decision-making

and   or   not


Example:

print(True and False)  # False


🧩 Mini Task


Ask the user for two numbers and print:

βœ”οΈ their sum
βœ”οΈ which one is greater


#day7
#python
#programming
#negafantech
πŸ₯°1
🐍 Day 8 β€” Conditional Statements in Python

Conditional statements allow your program to make decisions based on conditions.

πŸ”Ή Basic If Statement
age = 18
if age >= 18:
print("You are an adult")


πŸ”Ή If–Else Statement

if age >= 18:
print("Adult")
else:
print("Minor")


πŸ”Ή If–Elif–Else

score = 85
if score >= 90:
print("A")
elif score >= 80:
print("B")
else:
print("C or below")

πŸ’‘ Why It Matters

Conditional logic powers real-world systems like:
βœ” login validation
βœ” access control
βœ” grading systems
βœ” navigation & decision bots
βœ” games & AI logic


🧩 Mini Task

Ask the user for a number and:
βœ” print if it’s positive, negative, or zero.
πŸ™1
Registration link for the upcoming workshop: https://us06web.zoom.us/webinar/register/WN_VoQ4yE4SRD6z_jssg0sDmw
Register for this Workshop
Ready to build your future in AI?

iCog Labs 2026 AI Internship applications are now open! Learn, experiment, and work on real-world AI projects with one of the industry's leading labs. This is your chance to turn curiosity into impact.

Calling all AI Enthusiasts!
iCog Labs is seeking talented individuals to join our 2026 Batch 1 AI Talent Program. You’ll dive into cutting-edge projects, learn directly from experts, and accelerate your technical growth.

What we’re looking for:
A Passion for AI: You live and breathe emerging tech.
Strong Problem-Solving Skills: You enjoy deconstructing complex challenges.
A Growth Mindset: A relentless desire to learn, innovate, and build.

Apply Now : https://lnkd.in/dw_gbBCu
Deadline: Feb 28/2026
πŸ₯°1πŸ‘Œ1
Age of Programming LanguagesπŸ‘¨πŸ»β€πŸ’»

πŸ¦… Swift (11 years old) (2014)
πŸš€ Kotlin (13 years old) (2011)
πŸ¦€ Rust (14 years old) (2010)
🐹 Go (15 years old) (2009)
πŸ”· TypeScript (12 years old) (2012)
🎸 C# (24 years old) (2000)
πŸ’Ž Ruby (29 years old) (1995)
β˜• Java (29 years old) (1995)
🌐 JavaScript (29 years old) (1995)
🐘 PHP (30 years old) (1994)
🐍 Python (34 years old) (1991)
πŸͺ Perl (37 years old) (1987)
πŸš€ C++ (39 years old) (1985)
πŸ“± Objective-C (40 years old) (1984)
πŸ” Prolog (52 years old) (1972)
πŸ—£οΈ Smalltalk (52 years old) (1972)
πŸ–₯️ C (52 years old) (1972)
πŸ“ Pascal (54 years old) (1970)
πŸŽ“ BASIC (60 years old) (1964)
πŸ’Ό COBOL (65 years old) (1959)
πŸ€– Lisp (66 years old) (1958)
πŸ“œ Fortran (67 years old) (1957)
https://t.me/kttutorial

If you are looking for Engineering Drawing concepts, materials and tutorials join this group.
πŸ₯°2
πŸš€ Join the Pan-African AI Movement – The Udara Project

Future Innovator,

You’re invited by Ambassador Negasa Reta to be part of The Udara Project β€” a FREE AI Literacy Program designed for African students ready to learn, build, and innovate together.

🎯 What You’ll Get (100% Free)

✨ Practical AI skills for academics & career growth
✨ Live and recorded sessions from expert instructors
✨ Hands-on projects to build your portfolio
✨ A powerful network of peers and mentors across Africa
✨ A certificate to strengthen your CV
✨ A chance to contribute to Africa’s AI future

⏳ How to Join (Only 30 Seconds)

Click the link below and complete your registration:

πŸ”— https://theudaraproject.com/register?ref=None

Thousands of students are already signing up β€” spots are filling fast!

πŸ‘‰ Secure your place now:
https://theudaraproject.com/register?ref=None
Negafan Tech pinned Β«πŸš€ Join the Pan-African AI Movement – The Udara Project Future Innovator, You’re invited by Ambassador Negasa Reta to be part of The Udara Project β€” a FREE AI Literacy Program designed for African students ready to learn, build, and innovate together. πŸŽ―β€¦Β»
Forwarded from CTRL + FUTUREπŸ”₯
Welcome to CTRL + FUTURE!

I’m sharing every step of my coding adventure from a curious beginner to a confident Software Engineer πŸ’»

Expect to see here:
β€’ Lessons I uncover each day
β€’ Projects I’m experimenting with
β€’ Challenges I tackle and errors I learn from
β€’ Practical tips, hacks & inspiration for fellow coders

I’m building openly because growth is better when shared.
Join me, let’s shape the future with code!

#DevJourney #CodeEveryDay #BuildInPublic #LearnToCode@CodebyLidia