
Variblas
Presentation
•
Information Technology (IT)
•
10th Grade
•
Practice Problem
•
Medium
Fayzullo Mamajonov
Used 4+ times
FREE Resource
5 Slides • 5 Questions
1
Pythonda o`zgaruvchi turlari
(variables type in python)
2
Pythonda o`zgaruvchi turlari
ID | Varible type | Exemple |
|---|---|---|
1 | int() | butun sonlar (25,10,-3,0) |
2 | float() | haqiqiy sonlar (1.2,5.3,-7.2,4.0) |
3 | string() | matnlar ( txt = "Assalom aleykum") |
4 | bool() | mantiqiy qiymat (True, False) |
5 | list() | ro`yxat (my_list = [1,2,3,4,...]) |
6 | tuple() | o`zgarmas ro`yxat (my_tup = (1,2,3,..)) |
7 | set() | tartibsiz va takrorlanmas (my_set = {"a","b","c"}) |
8 | dict() | kalit-qiymat ( person = { |
3
O`zgaruvchi nima?
O`zgaruvchi(variable) - kompyuter xotirasida ma`lum bir qiymatni saqlash uchun ajratilgan joy.
Qiymatlar - son,matn,ro`yxat va boshqa ko`rinishda bo`lish mumkin.
4
Pythonda o`zgaruvchilar qanday e`lon qilinadi?
Python dasturlash tilida o`zgaruvchi turi avtomatik ravishda aniqlanadi.
Quidagi misolga qarang!
5
Pythonda o`zgaruvchilar chop etish
6
Multiple Choice
Qaysi variant int() turiga tegishli?
n = "apple"
n = 17
n = 5.7
n = 7.0
7
Multiple Choice
Qaysi variant float() turiga tegishli
n = 7.0
n = 'apple'
n = 25
n = True
8
Multiple Choice
Qaysi qiymat bool() turiga tegishli?
n = -25
n = "apple"
n = False
n = 7.5
9
Multiple Choice
Qaysi qiymat str() turiga tegishli?
n = -16
n = "apple"
n = 0.5
n = True
10
Multiple Choice
O`zgaruvchi nima?
Kompyuter xotirasida ma’lumotlarni saqlash uchun ajratilgan nomlangan joy
Raqamlarni saralash uchun maxsus buyruqlar to‘plami
Faqat matn ma’lumotlarini saqlaydigan konteyner
Dasturdagi barcha ma’lumotlarni avtomatik tarzda o‘chirib tashlaydigan funksiya
Pythonda o`zgaruvchi turlari
(variables type in python)
Show answer
Auto Play
Slide 1 / 10
SLIDE
Similar Resources on Wayground
7 questions
French - Mon environnement
Presentation
•
10th Grade
9 questions
gases ideales y ley combinada
Presentation
•
10th Grade
8 questions
Penentuan Bilangan Oksidasi
Presentation
•
10th Grade
6 questions
Bentuk Molekul VSEPR
Presentation
•
10th Grade
6 questions
Séance TD 6 Droit de la responsabilité civil
Presentation
•
KG
8 questions
Solving Equations by Combining Like Terms
Presentation
•
9th Grade
6 questions
liên kết ion
Presentation
•
10th Grade
8 questions
Introduction X-1
Presentation
•
10th Grade
Popular Resources on Wayground
15 questions
Grade 3 Simulation Assessment 1
Quiz
•
3rd Grade
22 questions
HCS Grade 4 Simulation Assessment_1 2526sy
Quiz
•
4th Grade
16 questions
Grade 3 Simulation Assessment 2
Quiz
•
3rd Grade
19 questions
HCS Grade 5 Simulation Assessment_1 2526sy
Quiz
•
5th Grade
17 questions
HCS Grade 4 Simulation Assessment_2 2526sy
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
24 questions
HCS Grade 5 Simulation Assessment_2 2526sy
Quiz
•
5th Grade
20 questions
Math Review
Quiz
•
3rd Grade
Discover more resources for Information Technology (IT)
20 questions
Figurative Language Review
Quiz
•
10th Grade
20 questions
Earth Day Trivia
Quiz
•
9th - 12th Grade
10 questions
Earth Day Awareness and Impact
Interactive video
•
6th - 12th Grade
10 questions
Earth Day and Plastic Alternatives
Interactive video
•
5th - 10th Grade
5 questions
A.F/ST Quizizz Day 1
Quiz
•
9th - 12th Grade
100 questions
Biology EOC Review
Quiz
•
9th - 12th Grade
20 questions
Earth Day
Quiz
•
3rd - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)
Quiz
•
9th - 12th Grade