Python data Types || Chapter 2

Published: 08 November 2021
on channel: 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’)


On this page of the site you can watch the video online Python data Types || Chapter 2 with a duration of hours minute second in good quality, which was uploaded by the user Coding Mente 08 November 2021, share the link with friends and acquaintances, this video has already been watched 9 times on youtube and it was liked by 0 viewers. Enjoy your viewing!