
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
USAHA DAN ENERGI
Presentation
•
10th Grade
6 questions
Las aventuras de Ulises
Presentation
•
10th Grade
6 questions
équation de second degré
Presentation
•
10th Grade
8 questions
TRASLACIÓN DE UNA FUNCIÓN CUADRÁTICA
Presentation
•
10th Grade
10 questions
SONLAR
Presentation
•
10th Grade
10 questions
1. Present Berpikir Komputasional
Presentation
•
10th Grade
7 questions
Mabuting Pamahalaan
Presentation
•
10th Grade
8 questions
Introduction X-2
Presentation
•
10th Grade
Popular Resources on Wayground
28 questions
US History Regents Review
Quiz
•
11th Grade
36 questions
Biology Regents Review
Quiz
•
9th - 10th Grade
20 questions
Math Review
Quiz
•
3rd Grade
38 questions
Regents Life Science General Review
Quiz
•
9th Grade
20 questions
Math Review
Quiz
•
6th Grade
21 questions
EOY Grade 6 Benchmark Assessment - Content Skills
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
36 questions
Biology Regents Review
Quiz
•
9th - 10th Grade
45 questions
Earth and Space Science Regents: Exam Cram
Presentation
•
7th - 12th Grade
36 questions
NYS Biology Regents Exam: Word on the Street
Quiz
•
10th Grade
50 questions
Global Regents Review 1
Quiz
•
10th Grade
50 questions
Earth Science Regents Review
Quiz
•
10th Grade
50 questions
US History Comprehensive Final Exam
Quiz
•
9th - 12th Grade
16 questions
TSI Math 2.0 Practice
Quiz
•
9th Grade - University
50 questions
Global Regents Review #2- Multiple Choice
Quiz
•
10th Grade