CODE TECH™ (channel)
227 subscribers
42 photos
1 video
8 files
21 links
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” – Martin Fowler

Channel ➻ @h_programming
Group ➻ @h_programmers_group
Bot ➻ @h_gramBot
Download Telegram
🌐 ማጠቃለያ | python data type

እስካሁን ዋና ዋና እና ብዙ ጊዜ የምንጠቀምባቸዉ የ python data type 'ኦች ስናል ቆይተናል : :

አንዴ declare ከተደረጉ (ከተፈጠሩ በኋላ) መሻሻል ይችላሉ ወይስ አይችሉም የሚለዉን መሰረት በማረግ በ ሁለት ከፍለን ለማየት ሞክረናል : -

1⃣ mutable: ከተፈጠሩ በኋላ መስተካከል (modify) መሆን የሚችሉ የ python data type ናቸዉ : :

ምሳሌ : - List, Dictionary, Set

2⃣ immutable: እነዚ ደሞ አንዴ ከተፈጠሩ በኋላ መሻሻል የማይችሉ የ python data type 'ኦች ናቸዉ : :

ምሳሌ:- String, Integer, Float, Tuple



⚜ ስለ data type ለ ጊዜዉ በዚ እናበቃለን ወደፊት ግን አንዳንድ ተጨማሪ ነገሮችን የምናይ ይሆናል : :


@h_programming
This media is not supported in your browser
VIEW IN TELEGRAM
🐍 ስለ python data type እስካሁን የተማርነዉን ለማጠናከር ይሄንን video እንድትመለከቱ እመክራለሁ!

https://youtu.be/3z16g2oOxaQ

❤️ በዛዉም Subscribe እና like በማረግ ሌሎች የ python እና ከ technology ጋር የተገናኙ ትምህርቶችን ማግኘት ትችላላቹ !


@h_programming
CODE TECH™ (channel) pinned «🐍 ስለ python data type እስካሁን የተማርነዉን ለማጠናከር ይሄንን video እንድትመለከቱ እመክራለሁ! https://youtu.be/3z16g2oOxaQ ❤️ በዛዉም Subscribe እና like በማረግ ሌሎች የ python እና ከ technology ጋር የተገናኙ ትምህርቶችን ማግኘት ትችላላቹ ! @h_programming»
This media is not supported in your browser
VIEW IN TELEGRAM
Which error(s) occur during execution of this code?

try: print(1 / 0) except: raise ValueError
Anonymous Quiz
52%
ZeroDivisionError
19%
ValueError
19%
ZeroDivisionError, ValueError
10%
None
Which number is not printed by this code?

try: print(1) print(20 / 0) print(2) except ZeroDivisionError: print(3) finally: print (4)
Anonymous Quiz
7%
1
24%
2
7%
3
9%
4
11%
1, 2
11%
2, 3
4%
3, 4
27%
None
CODE TECH™ (channel)
Quiz በምንጠይቅበት ጊዜ
ጥሩ!
ለ #Quiz_4 ተዘጋጁ በቅርቡ ትፈተናላቹ : : 😊

ፈተናዉ የሚወጣዉ ከ #Quiz_3 እስካሁን በተማርናቸዉ ነገሮች ዙሪያ ይሆናል !

በነገራችን ላይ የራሳችሁን ጥያቄ አዉጥታችሁ መላክ ትችላላችሁ : : እኛም ጥያቄዎቻችሁን ሰብሰብ አርገን #quiz_4 ላይ አካተን የምናመጣቸዉ ይሆናል : :

ጥያቄዎችን ለመላክ @h_grambot ን ተጠቀሙ!



@h_programming
This media is not supported in your browser
VIEW IN TELEGRAM
1) ከሚከተሉት አንዱ 'escape sequence characters' አይደለም : : የቱ ነዉ ?
Anonymous Quiz
20%
\r
17%
\n
42%
\d
22%
\f
2) print("hello\tcoders" + "," + " hello coders\rselam") #የዚ code ዉጤት የሚሆነዉ...?
Anonymous Quiz
21%
hello\tcoders, hello coders\rselam
37%
hello coders, selam coders
19%
hello coders, hello coders
23%
hello coders, coders selam
3) ከሚከተሉት ዉስጥ ስህተት የሆነዉ የቱ ነዉ ?
Anonymous Quiz
12%
totalSum= 3
4%
total_sum = 3
4%
total_sum2 = 3
60%
total sum = 3
19%
_total = 3
4) print("10/5") #ዉጤት ?
Anonymous Quiz
13%
2
29%
2.0
48%
10/5
10%
error
6) print(3 ** 3)
Anonymous Quiz
41%
9
5%
6
54%
27
7) print(10 % 2)
Anonymous Quiz
57%
0
20%
5
23%
5.0
8) print(6 / 2)
Anonymous Quiz
35%
3
65%
3.0
9) print(6 // 3)
Final Results
92%
3
8%
3.0
10) x = eval("3 + 2")
print(x)
Anonymous Quiz
41%
3 + 2
59%
5