❤3
🐍 Python Data Structures
1️⃣ Strings
A string is text inside quotes:
Useful methods:
upper() → make all letters BIG.
lower() → make all letters small.
split() → cut the string into a list by spaces or a chosen separator.
→ change part of the text.
Slicing → pick part of the string:
2️⃣ Lists
A list stores many items in order:
Common methods:
append(x) → add item at the end.
remove(x) → delete by value.
pop(i) → delete by position (default last).
sort() → arrange items in order.
3️⃣ Tuples
A tuple is like a list but cannot change (immutable):
4️⃣ Sets
A set stores unique items (no duplicates):
Useful operations:
union() → join two sets.
intersection() → common items of two sets.
5️⃣ Dictionaries
A dictionary stores key : value pairs:
Methods:
keys() → all keys.
values() → all values.
items() → key–value pairs.
🏋️ Practice Tasks
1. Word Frequency
Count how many times each word appears:
2. Highest Mark
Store 5 students and marks, then print the top scorer:
✅ Tip: Remember
Use list when data changes.
Use tuple when data stays fixed.
Use set to keep only unique values.
Use dictionary to link keys and values.
1️⃣ Strings
A string is text inside quotes:
"Hello".
Useful methods:
upper() → make all letters BIG.
lower() → make all letters small.
split() → cut the string into a list by spaces or a chosen separator.
replace("old","new") → change part of the text.
Slicing → pick part of the string:
text[0:5].
2️⃣ Lists
A list stores many items in order:
fruits = ["apple", "banana", "orange"]
Common methods:
append(x) → add item at the end.
remove(x) → delete by value.
pop(i) → delete by position (default last).
sort() → arrange items in order.
3️⃣ Tuples
A tuple is like a list but cannot change (immutable):
colors = ("red", "green", "blue")4️⃣ Sets
A set stores unique items (no duplicates):
nums = {1, 2, 3}Useful operations:
union() → join two sets.
intersection() → common items of two sets.
5️⃣ Dictionaries
A dictionary stores key : value pairs:
student = {"name": "Ali", "age": 20}Methods:
keys() → all keys.
values() → all values.
items() → key–value pairs.
🏋️ Practice Tasks
1. Word Frequency
Count how many times each word appears:
sentence = "python is easy and python is fun"
words = sentence.split()
count = {}
for w in words:
count[w] = count.get(w, 0) + 1
print(count)
2. Highest Mark
Store 5 students and marks, then print the top scorer:
students = {
"Ali": 88,
"Sara": 95,
"Musa": 76,
"Hana": 90,
"Omar": 82
}
top = max(students, key=students.get)
print("Highest:", top, students[top])✅ Tip: Remember
Use list when data changes.
Use tuple when data stays fixed.
Use set to keep only unique values.
Use dictionary to link keys and values.
❤5👍2🔥1
🌟 What is AI (Artificial Intelligence)?
Artificial Intelligence (AI) means making machines or computers think and act like humans.
It allows computers to learn from experience, understand language, recognize images, make decisions, and even solve problems.
---
🧠 Main Idea of AI
AI is built to:
Learn from data and experiences (like humans learn from practice).
Reason by making decisions or predictions.
Act by performing tasks intelligently.
Example:
When you ask Google Assistant or ChatGPT a question, it uses AI to understand your words and respond smartly.
---
⚙️ Types of AI
1. Narrow AI (Weak AI)
Works for one specific task.
Example: Siri, Google Assistant, or face recognition on your phone.
2. General AI (Strong AI)
Thinks and learns like a human.
It can do any intelligent task.
(This type doesn’t fully exist yet.)
3. Super AI
Smarter than humans in every way.
Only an idea right now, not real yet.
---
🧩 Main Branches of AI
Branch Description Example
Machine Learning (ML) Teaches computers to learn from data Netflix recommending movies
Deep Learning Uses artificial neural networks like the human brain Self-driving cars
Natural Language Processing (NLP) Helps computers understand human language ChatGPT, Google Translate
Computer Vision Allows computers to see and understand images/videos Face recognition
Robotics Makes robots that can act like humans Robot assistants
Expert Systems Gives expert-level decisions Medical diagnosis software
---
🚀 Uses of AI in Real Life
🤖 Healthcare – diagnosing diseases
🏦 Banking – detecting fraud
🛒 E-commerce – recommending products
🚗 Transportation – self-driving cars
📱 Phones – voice assistants
🏫 Education – smart tutoring systems
---
⚖️ Advantages of AI
✅ Works 24/7 without getting tired
✅ Makes fast and accurate decisions
✅ Helps in dangerous jobs
✅ Can analyze large data quickly
---
⚠️ Disadvantages of AI
❌ Expensive to develop
❌ Can cause unemployment
❌ May make humans too dependent
❌ Risk of misuse (like fake information or hacking)
---
💬 Simple Example
If you tell your phone,
> “Play my favorite song,”
The AI in your phone:
1. Understands your speech (NLP),
2. Searches your song list (Machine Learning),
3. Plays your favorite song (Action).
Artificial Intelligence (AI) means making machines or computers think and act like humans.
It allows computers to learn from experience, understand language, recognize images, make decisions, and even solve problems.
---
🧠 Main Idea of AI
AI is built to:
Learn from data and experiences (like humans learn from practice).
Reason by making decisions or predictions.
Act by performing tasks intelligently.
Example:
When you ask Google Assistant or ChatGPT a question, it uses AI to understand your words and respond smartly.
---
⚙️ Types of AI
1. Narrow AI (Weak AI)
Works for one specific task.
Example: Siri, Google Assistant, or face recognition on your phone.
2. General AI (Strong AI)
Thinks and learns like a human.
It can do any intelligent task.
(This type doesn’t fully exist yet.)
3. Super AI
Smarter than humans in every way.
Only an idea right now, not real yet.
---
🧩 Main Branches of AI
Branch Description Example
Machine Learning (ML) Teaches computers to learn from data Netflix recommending movies
Deep Learning Uses artificial neural networks like the human brain Self-driving cars
Natural Language Processing (NLP) Helps computers understand human language ChatGPT, Google Translate
Computer Vision Allows computers to see and understand images/videos Face recognition
Robotics Makes robots that can act like humans Robot assistants
Expert Systems Gives expert-level decisions Medical diagnosis software
---
🚀 Uses of AI in Real Life
🤖 Healthcare – diagnosing diseases
🏦 Banking – detecting fraud
🛒 E-commerce – recommending products
🚗 Transportation – self-driving cars
📱 Phones – voice assistants
🏫 Education – smart tutoring systems
---
⚖️ Advantages of AI
✅ Works 24/7 without getting tired
✅ Makes fast and accurate decisions
✅ Helps in dangerous jobs
✅ Can analyze large data quickly
---
⚠️ Disadvantages of AI
❌ Expensive to develop
❌ Can cause unemployment
❌ May make humans too dependent
❌ Risk of misuse (like fake information or hacking)
---
💬 Simple Example
If you tell your phone,
> “Play my favorite song,”
The AI in your phone:
1. Understands your speech (NLP),
2. Searches your song list (Machine Learning),
3. Plays your favorite song (Action).
❤2👍1
Forwarded from Code Spark
ሰበር መረጃ / useful information
✅ ሰሞኑን በተለይ በቴሌግራም ግሩፖች ላይ በእንግሊዝኛ ቋንቋና አልፎ አልፎ በዐረብኛ ቋንቋ የብልግና caption ጽሑፍ ሊንክ ያለው ነገር እየተለቀቀ ነው። የብልግና ሱስ ያለባቸው ሰዎች፤ በጽሑፉ ላይ የተጠቀሰውን ብልግና ለመመልከት ሊንኩን ተጭነው ሲገቡ፤ ሊንኩ ሐክ ማድረጊያ ስለሆነ አካውንታቸው በሐከሮቹ ቁጥጥር ስር ይውላል።
✅ ስለዚህ ተጠንቀቁ። ራሳችሁን ከብልግናም፣ ከሐከርም ታደጉ። ሐከሮች እስከዛሬ ሰውን «ሽልማት ያስገኛል!» እያሉ ሊንክ እንዲነካ እየጋበዙ ብዙ ሰው አጫውተዋል። ዛሬ ደግሞ በደካማ ጎኑ መጥተው ብዙውን መንጋ እየሸወዱት ነው።
አፕልና ጎግልም ለተጠቃሚዎቻቸው ማስጠንቀቂ ለቀዋል።
✅ እንዴት hacked እንደሆነ / check ማድረግ እንችላለን ላላችሁ።
Telegram ---> setting -----> Devices -----> click terminate all devices (የራሳችሁን ስልክ አስቀርታችሁ ሌላውን ማስወጣት ነው)
|| copy
Share this information to your friends.
✅ ሰሞኑን በተለይ በቴሌግራም ግሩፖች ላይ በእንግሊዝኛ ቋንቋና አልፎ አልፎ በዐረብኛ ቋንቋ የብልግና caption ጽሑፍ ሊንክ ያለው ነገር እየተለቀቀ ነው። የብልግና ሱስ ያለባቸው ሰዎች፤ በጽሑፉ ላይ የተጠቀሰውን ብልግና ለመመልከት ሊንኩን ተጭነው ሲገቡ፤ ሊንኩ ሐክ ማድረጊያ ስለሆነ አካውንታቸው በሐከሮቹ ቁጥጥር ስር ይውላል።
✅ ስለዚህ ተጠንቀቁ። ራሳችሁን ከብልግናም፣ ከሐከርም ታደጉ። ሐከሮች እስከዛሬ ሰውን «ሽልማት ያስገኛል!» እያሉ ሊንክ እንዲነካ እየጋበዙ ብዙ ሰው አጫውተዋል። ዛሬ ደግሞ በደካማ ጎኑ መጥተው ብዙውን መንጋ እየሸወዱት ነው።
አፕልና ጎግልም ለተጠቃሚዎቻቸው ማስጠንቀቂ ለቀዋል።
✅ እንዴት hacked እንደሆነ / check ማድረግ እንችላለን ላላችሁ።
Telegram ---> setting -----> Devices -----> click terminate all devices (የራሳችሁን ስልክ አስቀርታችሁ ሌላውን ማስወጣት ነው)
|| copy
Share this information to your friends.
❤1
Forwarded from Code Spark
News
Ai in web development
የአርቲፊሻል ኢንተለጀንስ (AI) በ web development ላይ ያለው ተጽእኖ በ2025 እና 2026 በፍጥነት እያደገ ነው።
በቅርቡ የተደረጉ ጥናቶች እና ሪፖርቶች እንደሚያመለክቱት፣ AI የ web developerችን ምርታማነት በእጅጉ እያሳደገ ነው፣ ነገር ግን አንዳንድ ፈተናዎችም አሉት።
የAI መሣሪያዎች ተወዳጅነት፡ እንደ Stack Overflow 2025 የዳሰሳ ጥናት አዘጋጅቶ፣ 65% የሚሆኑ የሶፍትዌር developerኦች AI መሣሪያዎችን (እንደ GitHub Copilot፣ Cursor፣ Claude፣ Gemini) ቢያንስ በሳምንት አንድ ጊዜ ይጠቀማሉ።
እነዚህ መሣሪያዎች ኮድ ለመጻፍ፣ ለማስተካከልና ለመፈተሽ ይረዳሉ።
በ2026 ትንበያዎች፡ በ2026፣ AI በ web development ሙሉ ዑደት ውስጥ ይካተታል፡ ኮድ ማመንጨት፣ ፈተና፣ ማሰማራት፣ ጥገናና የተጠቃሚ ተሞክሮ ማበጀት።
እንደ Gartner ትንበያ፣ 90% የሚሆኑ የሶፍትዌር መሐንዲሶች ከቀጥታ ኮድ መጻፍ ወደ AI ሂደቶች ቁጥጥር ይሸጋገራሉ።
ጥቅሞች፡ AI የልማት ጊዜን ይቀንሳል፣ የተጠቃሚ ተሞክሮን ያሳድጋል ፣ ደህንነትን ያጠናክራልና ወጪን ይቆጥባል።
እንደ አንዳንድ ጥናቶች፣ ገንቢዎች በAI እርዳታ 55% ፈጣን ሥራ ይጨርሳሉ።
ተጨማሪ ከፈለጉ double tap
Python Hub
https://t.me/standalone_atcbot/standaloneExam?startapp=standalone_2dcafab520327dff480a579327379377b2d6b9d5f38c69426acfcefae11f8d08
Python question ነው
ከጨረሳቹ ቦሃላ resultኣቹን screenshot አድርጋቹ በ comment section ላኩ በጣም ቀላል ጥያቄ ነው
ከጨረሳቹ ቦሃላ resultኣቹን screenshot አድርጋቹ በ comment section ላኩ በጣም ቀላል ጥያቄ ነው
እንኳን ለዒድ አል-ፈጥር በዓል በሰላም አደረሳችሁ! 🌙
አላህ ጾማችንን እና ዱዓችንን ተቀብሎ፣ ለሚቀጥለው ዓመት በሰላም እና በጤና እንዲያደርሰን እመኛለሁ። ይህ በዓል ለእናንተም ሆነ ለቤተሰባችሁ የበረከት እና የደስታ ይሁንላችሁ።
ተቀበለላሁ ሚና ወሚንኩም ሳሊሀል አማል!
መልካም በዓል! 🎈✨
አላህ ጾማችንን እና ዱዓችንን ተቀብሎ፣ ለሚቀጥለው ዓመት በሰላም እና በጤና እንዲያደርሰን እመኛለሁ። ይህ በዓል ለእናንተም ሆነ ለቤተሰባችሁ የበረከት እና የደስታ ይሁንላችሁ።
ተቀበለላሁ ሚና ወሚንኩም ሳሊሀል አማል!
መልካም በዓል! 🎈✨
❤2👍1🔥1