Python data Types || Chapter 2

Опубликовано: 08 Ноябрь 2021
на канале: Coding Mente
9
0

Q1: What are data types in python?
Data Types are variables that are used to reserve some space in the memory

Q2: Give some example of the data types in python
String,set,num,list,dictionary and float
Q3: what are sets in python?
Unordered collection of unique objects in python
Q4: difference between set and frozen set

Set Frozenset
Mutuable Immutable
Elements can be added using elements cannot be
Add() added

Q5: Give example of number data types in python?
Int_num =20
Float_num = 20.2
Complex+num = 3.14j
Long_num = 123412.234j

Q6: Give example of list data type in python?
L1 = [1,2,3,4]
Q7: Give example of dictionary in python?
Dict1 = {‘name’:’coding’,’lastname’:’mente’}
Q8: Give example of Tuple Data types in python?
Tuple1 = (1,2,3,3,5,’hello’,’world’)


На этой странице сайта вы можете посмотреть видео онлайн Python data Types || Chapter 2 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Coding Mente 08 Ноябрь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 9 раз и оно понравилось 0 зрителям. Приятного просмотра!