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’)
In questa pagina del sito puoi guardare il video online Python data Types || Chapter 2 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Coding Mente 08 novembre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 9 volte e gli è piaciuto 0 spettatori. Buona visione!