You are on page 1of 13

Chat Log C:\Users\SIDDHARTH\Documents\ChatLog Indore ML Python Batch 2

2021_07_22 15_00.rtf

Ardent Trainer (to Everyone): 12:42: Good Afternoon to all


Ardent Trainer (to Everyone): 12:42: I am going to start in 5 min
rajeshwari kaushal (to Everyone): 12:42: Good afternoon sir
Riya karode (to Everyone): 12:42: good afternoon sir
Vishal Patidar (to Everyone): 12:43: good afternoon sir
Prajjwal Sahu (to Everyone): 12:44: good afternoon sir
Vishal Patidar (to Everyone): 12:46: yes sir
Riya karode (to Everyone): 12:46: yes sir
Tanish Gandhi (to Everyone): 12:46: Yes
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 12:46: yes sir
Samprati Sherawat (to Everyone): 12:46: yes sir
Sameer Nema (to Everyone): 12:46: yes sir
Sandeep Dixit (to Everyone): 12:46: Yes
Sakshi Modi (to Everyone): 12:46: yes sir
Sakshi Naidu (to Everyone): 12:46: Yes Sir
Surbhi Bhawsar (to Everyone): 12:46: yes
Sanskar Jain (to Everyone): 12:46: Yes sir
Vaibhav Porwal (to Everyone): 12:46: yes sir
rajeshwari kaushal (to Everyone): 12:46: yes
ROHIT BHATI (to Everyone): 12:46: Yes sir
Ritik Jain (to Everyone): 12:46: yes
Yashika Raikwar (to Everyone): 12:46: yes sir
Shweta Jaiswal (to Everyone): 12:47: Yes sir
Tarun Sonwane (to Everyone): 12:47: Yes sir
Saksham Jha (to Everyone): 12:47: Yes sir
Tanisha Purohit (to Everyone): 12:47: Yes Sir
Raj Gupta (to Everyone): 12:47: yes sir
Rabdeep singh kharbanda (to Everyone): 12:47: yes sir
Sandeep Dixit (to Everyone): 12:47: Yes
Sameer Nema (to Everyone): 12:47: yes sir
Ritika Neema (to Everyone): 12:47: yes sir
Vaibhav Porwal (to Everyone): 12:47: yes sir
Tarun Basediya (to Everyone): 12:47: yes sir
Soumya Jain (to Everyone): 12:47: yes sir
rajeshwari kaushal (to Everyone): 12:48: yes sir
Shriya Agnihotri (to Everyone): 12:48: Yes sir
Radhika Agrawal (to Everyone): 12:48: yes sir
Vishal Patidar (to Everyone): 12:50: sir wo bhi ho skte hai single se
Siddharth Shrivastava (to Ardent Trainer): 12:57: for i in range(10):
if i<=4:
print(" "*(4-i)+"*"*(2*i+1))
else:
print(" "*(i - 4)+"*"*(2*(9-i)-1))
Siddharth Shrivastava (to Ardent Trainer): 12:57: Diamond
Surbhi Bhawsar (to Everyone): 12:59: done
Surbhi Bhawsar (to Everyone): 13:00: yes
Sakshi Naidu (to Everyone): 13:00: Yes
Ritik Jain (to Everyone): 13:00: yes
Riya karode (to Everyone): 13:00: yes
Shyam Sundar Patidar (to Everyone): 13:00: yes
Shivank Sharma (to Everyone): 13:00: yes sir
Prajjwal Sahu (to Everyone): 13:00: yes sir
Priyanshi Gupta (to Everyone): 13:00: yes sir
priyanshi gupta (to Everyone): 13:00: Yes
Rajkumar Gothi (to Everyone): 13:00: Yes sir
Sandeep Dixit (to Everyone): 13:01: Done
ROHIT Pawar (to Everyone): 13:01: Done
Yash Mulchandani (to Everyone): 13:02: int
Siddharth Shrivastava (to Ardent Trainer): 13:02: j.extend(range(6))
j = str(j[1:6]).replace(",","").replace("[","").replace("]","").replace(" ","")
for i in range(6):
print(" "*(5-i)+j[0:i])
ROHIT Pawar (to Everyone): 13:02: Tuple
Surbhi Bhawsar (to Everyone): 13:02: list tuple dict set
Sakshi Naidu (to Everyone): 13:02: Tuples
Vishal Patidar (to Everyone): 13:02: tuple dict array list
Siddharth Shrivastava (to Ardent Trainer): 13:02: Number in single loop
Sakshi Naidu (to Everyone): 13:02: List
ROHIT Pawar (to Everyone): 13:02: Dict
sakshi gupta (to Everyone): 13:02: 4 , tuple,list,set,dict
Sanskar Jain (to Everyone): 13:02: list dictionary set tuple array
Sakshi Joshi (to Everyone): 13:02: list ,set,tuple,dictionary
Rudra Pratap Singh Chouhan (to Everyone): 13:02: Tuple set dict array list
Shivank Sharma (to Everyone): 13:02: list tupple dictionary set
Piyush Sharma (to Everyone): 13:02: List tuple dictionary set
Vishal Patidar (to Everyone): 13:02: 5
Yashika Raikwar (to Everyone): 13:02: array tuple set dict
Sakshi Naidu (to Everyone): 13:02: List dictionary
Shrashti Sharma (to Everyone): 13:02: list, tuples,dictionary,arrays
Raj Gupta (to Everyone): 13:02: tuple list dist set array
Saumya Vyas (to Everyone): 13:02: Set
Tuple
list
Dictionary
Yashika Raikwar (to Everyone): 13:02: list
Tanisha Purohit (to Everyone): 13:02: List,tuple,set ,dictionary
Saoni Jain (to Everyone): 13:02: list,tuple,set,dictionary
Sameer Nema (to Everyone): 13:02: list, tuple, dictionary, set
Yash Mulchandani (to Everyone): 13:02: int, float, string ,complex, bool
Sakshi Naidu (to Everyone): 13:02: Arrays
Ujjwal Thakre (to Everyone): 13:02: list tupple dic set
Shrashti Sharma (to Everyone): 13:02: set
Shweta Jaiswal (to Everyone): 13:02: List
Tuple
Dictionary
Set
Sejal Jain (to Everyone): 13:02: set,list , tuple,dictionary
ROHIT Pawar (to Everyone): 13:02: List tuple dict set map
Sneha Kothari (to Everyone): 13:02: list,tuple,dictionary,set
Priyanka Joshi (to Everyone): 13:02: list tuple dictionary set array
Vartika Tiwari (to Everyone): 13:02: list tuple set dict array
Parv Kothari (to Everyone): 13:02: List tuple set dict
Ritik Jain (to Everyone): 13:02: list,tupple,dict,set,array
rajeshwari kaushal (to Everyone): 13:02: list tupple set dictionary(array in numpy)
Sakshi Maheshwari (to Everyone): 13:02: List tuple set dictionary
Saloni Patil (to Everyone): 13:02: List tuple dictionary set
PRERANA TIWARI (to Everyone): 13:02: int,float,string,boolean,complex
Pranjal Gupta (to Everyone): 13:03: list
Vishal Patidar (to Everyone): 13:03: list array dict set tuple
priyanshi gupta (to Everyone): 13:03: List,set, tuple, dictionary
Tanish Gandhi (to Everyone): 13:03: int , string, bool, complex , float
Shyam Sundar Patidar (to Everyone): 13:03: list ,tuple, dict, set,array
Prajjwal Sahu (to Everyone): 13:03: list tuple set dictionary array
Shivom Tiwari (to Everyone): 13:03: List,set, tuple, dictionary
Ritika Neema (to Everyone): 13:03: 5-int ,float,string,bool,complex
PRABHAV KHALYA (to Everyone): 13:03: list ,tuple, dict, set
Sandeep Dixit (to Everyone): 13:03: List, tuple, set, dict, array
Samarth Maheshwari (to Everyone): 13:03: List, tuple, set, dictionary
Prerna Bangad (to Everyone): 13:03: List, tuple, set, dict
Yashika Raikwar (to Everyone): 13:04: list is ordered data type
Yashika Raikwar (to Everyone): 13:04: work on index
ROHIT BHATI (to Everyone): 13:05: Mutable container
Sakshi Naidu (to Everyone): 13:05: List is used to store multiple values in a single
variable
Sandeep Dixit (to Everyone): 13:05: It can store the hetrogenous type of data
Surbhi Bhawsar (to Everyone): 13:05: listare mutable
Riya karode (to Everyone): 13:05: ordered data type
Yashika Raikwar (to Everyone): 13:05: it is mutable
ROHIT Pawar (to Everyone): 13:05: List is an collection of orders elements and the
elements can be heterogeneous
Priyansh Mathur (to Everyone): 13:05: Ordered data type
Piyush Thangan (to Everyone): 13:05: It allows duplicate data
Saloni Patil (to Everyone): 13:05: It is a data structure which is ordered and mutable
Shivank Sharma (to Everyone): 13:05: list are ordered changable
Sakshi Maheshwari (to Everyone): 13:05: Ordered and it cannot be changed
Yashika Raikwar (to Everyone): 13:05: we can store list inside list
Raj Gupta (to Everyone): 13:05: collection of multiple item in single variable
rajeshwari kaushal (to Everyone): 13:05: store multiple items in a single variable
Vishal Patidar (to Everyone): 13:05: it is an data structure which is ordered,mutable
and works with indexing and can store heterogenous type of data and duplicate
elements are not allowed here
Shweta Jaiswal (to Everyone): 13:05: List is ordered collection of elements
Shyam Sundar Patidar (to Everyone): 13:05: Lists are used to store multiple items in a
single variable.
Piyush Thangan (to Everyone): 13:05: Insertion order is preserved
Parv Kothari (to Everyone): 13:05: Allow duplicacy
Tanisha Purohit (to Everyone): 13:05: Ordered and mutable data structure
Yashika Raikwar (to Everyone): 13:05: in list we can store more than one values
Sandeep Dixit (to Everyone): 13:05: List index start from 0
Ujjwal Thakre (to Everyone): 13:05: list is used to store data..and it is mutable
Yash Jaiswar (to Everyone): 13:05: List is mutable data structure used to store diffrent
types of data
Siddharth Shrivastava (to Ardent Trainer): 13:06: It is an ordered and mutable Python
container, Stores hetrogeneous data. is represented by " [ ] " and seperates the different
elements by " , "
rajeshwari kaushal (to Everyone): 13:06: ordered, changeable and allow duplicate
values
Vishal Patidar (to Everyone): 13:06: yes
Ritik Jain (to Everyone): 13:06: list is mutable
Sanjay Sankla (to Everyone): 13:06: Ordered and changeble and put in square brackets
Vishal Patidar (to Everyone): 13:08: its internal structure is linked list?
Vishal Patidar (to Everyone): 13:08: ok sir
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:10: yes
Ritik Jain (to Everyone): 13:10: yes
Vaibhav Porwal (to Everyone): 13:10: yes sir
Vishal Patidar (to Everyone): 13:10: yes sir
rajeshwari kaushal (to Everyone): 13:10: yes sir audible
Vishal Patidar (to Everyone): 13:12: memory leak
Sakshi Maheshwari (to Everyone): 13:12: Because it holds extra memory
Vishal Patidar (to Everyone): 13:14: sir please pardon
Vishal Patidar (to Everyone): 13:16: sir isko koi example se explain krskte hui ?
Vishal Patidar (to Everyone): 13:16: *hai
Vishal Patidar (to Everyone): 13:16: ok sir
Vaibhav Porwal (to Everyone): 13:17: extend
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:17: extend
Ritik Jain (to Everyone): 13:17: extend
Pranjal Gupta (to Everyone): 13:17: extend
Yashika Raikwar (to Everyone): 13:17: extend func
Vishal Patidar (to Everyone): 13:17: attach
ROHIT Pawar (to Everyone): 13:17: Extend
Ritik Jain (to Everyone): 13:17: list
Vishal Patidar (to Everyone): 13:17: new list
Sandeep Dixit (to Everyone): 13:17: List
Saumya Vyas (to Everyone): 13:17: List
Vaibhav Porwal (to Everyone): 13:17: another list
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:17: list
ROHIT Pawar (to Everyone): 13:17: Sub list
Yashika Raikwar (to Everyone): 13:17: list
Vishal Patidar (to Everyone): 13:18: insert
Rudra Pratap Singh Chouhan (to Everyone): 13:18: Insert method
Ritik Jain (to Everyone): 13:18: insert(2,40)
Tarun Sonwane (to Everyone): 13:18: A[2]=10
Riya karode (to Everyone): 13:18: insert ()
Tarun Sonwane (to Everyone): 13:18: Yes sir
Vishal Patidar (to Everyone): 13:19: sir can we insert duplicate values in list?
ROHIT Pawar (to Everyone): 13:19: Yes
Vishal Patidar (to Everyone): 13:20: sir toh jab index() function ko use krenge toh
ambiguity nahi aaegi ?
Tanish Gandhi (to Everyone): 13:20: pop
Sandeep Dixit (to Everyone): 13:20: Del()
Pranjal Gupta (to Everyone): 13:20: pop
Raj Gupta (to Everyone): 13:20: pop()
Shivank Sharma (to Everyone): 13:20: pop
Sakshi Maheshwari (to Everyone): 13:20: Pop
Ujjwal Thakre (to Everyone): 13:20: pop
Yash Mulchandani (to Everyone): 13:20: pop()
Sandeep Dixit (to Everyone): 13:20: Pop()
Yashika Raikwar (to Everyone): 13:20: pop
priyanshi gupta (to Everyone): 13:20: Pop
Vishal Patidar (to Everyone): 13:20: fine sir
Vishal Patidar (to Everyone): 13:20: remove(index)
Ujjwal Thakre (to Everyone): 13:21: last elemet
Raj Gupta (to Everyone): 13:21: last value
Yashika Raikwar (to Everyone): 13:21: last
Vishal Patidar (to Everyone): 13:21: last element
Priyanka Joshi (to Everyone): 13:21: last element willl be removed
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:21: last
Ritik Jain (to Everyone): 13:21: last value del
Vishal Patidar (to Everyone): 13:21: right
Ujjwal Thakre (to Everyone): 13:21: right
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:21: right
Priyanka Joshi (to Everyone): 13:21: right
Yashika Raikwar (to Everyone): 13:21: right
Ritik Jain (to Everyone): 13:21: right
Raj Gupta (to Everyone): 13:21: right
Sanskar Jain (to Everyone): 13:21: last element ewill be removed
Sandeep Dixit (to Everyone): 13:21: Last -1
Sanskar Jain (to Everyone): 13:21: right
Surbhi Bhawsar (to Everyone): 13:21: ri8
Naman Tated (to Everyone): 13:21: remove last elements
Pranjal Gupta (to Everyone): 13:22: first one display
Yashika Raikwar (to Everyone): 13:22: first
Pranjal Gupta (to Everyone): 13:22: left
Yashika Raikwar (to Everyone): 13:22: left
Roshi Raghuwanshi (to Everyone): 13:22: left
Sakshi Modi (to Everyone): 13:22: left
Sandeep Dixit (to Everyone): 13:22: Left
Rajkumar Gothi (to Everyone): 13:22: Left
Prajjwal Sahu (to Everyone): 13:22: from left
ROHIT Pawar (to Everyone): 13:22: Left
Ritik Jain (to Everyone): 13:22: left
Sanskar Jain (to Everyone): 13:22: right
Vishal Patidar (to Everyone): 13:23: sir but if we want all to be remove together then?
ROHIT Pawar (to Everyone): 13:25: removeall
Vishal Patidar (to Everyone): 13:25: yes sir
Vishal Patidar (to Everyone): 13:25: clear
Riya karode (to Everyone): 13:25: yes
Sanjay Sankla (to Everyone): 13:26: Clear()
Ujjwal Thakre (to Everyone): 13:26: immutable
Vishal Patidar (to Everyone): 13:26: represented by ()
Sanskar Jain (to Everyone): 13:26: immutable
Tarun Basediya (to Everyone): 13:26: immutable list
Shweta Jaiswal (to Everyone): 13:26: Tuple is immutable data structure
Sakshi Naidu (to Everyone): 13:26: Tuple is an immutable data structure
Surbhi Bhawsar (to Everyone): 13:26: ordered data stru and immutable
Sakshi Joshi (to Everyone): 13:26: ordered and immutable
Tanish Gandhi (to Everyone): 13:26: ordered and imm
Shivom Tiwari (to Everyone): 13:26: used to store multiple items in a single variable
Ujjwal Thakre (to Everyone): 13:26: ()..
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:26: () are used
Naman Tated (to Everyone): 13:26: tuple are read only immutable
Yashika Raikwar (to Everyone): 13:26: tuple is ordered datatype work on index is
inmutable round bracket
Sandeep Dixit (to Everyone): 13:26: Index start from 0
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:26: tuple allow duplicate
data
Yash Jaiswar (to Everyone): 13:27: Tuple is immutable data structure used to store
homogeneous as well as heterogeneous kinds of data
A=()
Pranjal Gupta (to Everyone): 13:27: accessible only element
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:27: we cannot update
Vishal Patidar (to Everyone): 13:27: cannot be updated
Sakshi Maheshwari (to Everyone): 13:27: Cannot be change
Sameer Nema (to Everyone): 13:27: unchangeable
Surbhi Bhawsar (to Everyone): 13:27: we cant modify the data
Sakshi Joshi (to Everyone): 13:27: unchangeable
Saumya Meghlan (to Everyone): 13:27: Cannot be changed
rajeshwari kaushal (to Everyone): 13:27: unchangeable
Sandeep Dixit (to Everyone): 13:27: Cannot update
Priyansh Mathur (to Everyone): 13:27: Unchange
Saksham Jha (to Everyone): 13:27: Can't be changed
Soumya Jain (to Everyone): 13:27: unchangeable
Ritik Jain (to Everyone): 13:27: we cannot update or change
Sakshi Naidu (to Everyone): 13:27: Unchangeable
Shweta Jaiswal (to Everyone): 13:27: That cannot be changed
priyanshi gupta (to Everyone): 13:27: Can not change
Yashika Raikwar (to Everyone): 13:27: it can not be change delete update modify
Parth Joshi (to Everyone): 13:27: Cannot change
Vishal Patidar (to Everyone): 13:27: yes
PRABHAV KHALYA (to Everyone): 13:27: unchanging over time
Sakshi Modi (to Everyone): 13:27: once declared we can not change
Surbhi Bhawsar (to Everyone): 13:27: yes
Vaibhav Porwal (to Everyone): 13:27: after declaration we can not change the values
inside it
Tilak Rao (to Everyone): 13:27: (1,3,4,[1,3,4])
But we can update list in the list
Vishal Patidar (to Everyone): 13:28: list me store krlo fir list ko tuple me convert krdo
Sandeep Dixit (to Everyone): 13:28: Convert list to tuple
Yashika Raikwar (to Everyone): 13:29: yes
Varun Kalra (to Everyone): 13:29: at the time of initalizationwe can input the data from
user and assign it at the same time
Yashika Raikwar (to Everyone): 13:29: l=[10,20]
Raj Gupta (to Everyone): 13:29: can add another tuple ?
Vishal Patidar (to Everyone): 13:29: i guess, no
Yashika Raikwar (to Everyone): 13:29: t= tuple(l)
Varun Kalra (to Everyone): 13:29: input()
Shivansh Mishra (to Everyone): 13:29: n = input()

tup=(n)
print(tup)
Yashika Raikwar (to Everyone): 13:29: print(f)
Yashika Raikwar (to Everyone): 13:30: print(l)*
Pranjal Gupta (to Everyone): 13:30: i = tuple(input().split())
print(i)
ROHIT Pawar (to Everyone): 13:30: Typecast
Raj Gupta (to Everyone): 13:31: this = ("1", "2", "3")
y = ("4",)
this += y
Vishal Patidar (to Everyone): 13:31: agar blank declare krne pe error nahi aa rhi hai
means insert toh kr skte hai
Vishal Patidar (to Everyone): 13:33: modify nahi kr skte means concate bhi nahi kr skte
Yashika Raikwar (to Everyone): 13:34: mutable
Vishal Patidar (to Everyone): 13:34: naya create hua hai ya reallocate?
Yash Vardhan Singh Chouhan (to Everyone): 13:34: Immutable
Rakshita Pawar (to Everyone): 13:34: Immutable
Saumya Meghlan (to Everyone): 13:34: Immutable
Ujjwal Thakre (to Everyone): 13:34: immutable
Sandeep Dixit (to Everyone): 13:34: Insertion order is preserved but
Vishal Patidar (to Everyone): 13:34: new hua hai tabhi yeh possible hai
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:34: immutable
Pranjal Gupta (to Everyone): 13:35: can we delete ana element too?
Naman Tated (to Everyone): 13:35: immutable
Varun Kalra (to Everyone): 13:35: immutable
Yash Mulchandani (to Everyone): 13:35: immutable
Rakshita Pawar (to Everyone): 13:35: Immutable becoz we cannot change single
element
Riya karode (to Everyone): 13:35: immutable
Piyush Sharma (to Everyone): 13:35: Immutable
Vishal Patidar (to Everyone): 13:37: (x,) mein sir , kyu use kiya hai?
Yashika Raikwar (to Everyone): 13:37: yes sir
Sakshi Naidu (to Everyone): 13:37: Yes Sir
Riya karode (to Everyone): 13:37: yes sir
Shrashti Sharma (to Everyone): 13:37: yes sir
Yash Vardhan Singh Chouhan (to Everyone): 13:37: Yes sir
Prajjwal Sahu (to Everyone): 13:37: yes sir
Vishal Patidar (to Everyone): 13:38: sir not clear
Vishal Patidar (to Everyone): 13:38: again please
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:41: in set {} are used
Vishal Patidar (to Everyone): 13:43: why?
Vishal Patidar (to Everyone): 13:43: 2 and 1 blocks?
Vishal Patidar (to Everyone): 13:44: why?
Vishal Patidar (to Everyone): 13:44: for what 2 blocks?
Vishal Patidar (to Everyone): 13:44: ok sir got it
Vishal Patidar (to Everyone): 13:44: clear sir
Yashika Raikwar (to Everyone): 13:45: set is unordered datatype ,undexing,unique
value ,value of set is mutable , duplicate are not allowed , curly brackets
Sandeep Dixit (to Everyone): 13:45: Element in the set are immutable but the set as
whole is mutable
Sakshi Maheshwari (to Everyone): 13:45: Unordered and no duplicate elements
Riya karode (to Everyone): 13:45: unordered collection ,mutable and no duplicate
element
Parth Joshi (to Everyone): 13:45: Growable in nature
Yash Vardhan Singh Chouhan (to Everyone): 13:45: unordered collection ,mutable
and no duplicate
Vishal Patidar (to Everyone): 13:45: represented by {} curly braces
Saloni Patil (to Everyone): 13:46: Unordered,mutable,and no duplicates value allowed
Prajjwal Sahu (to Everyone): 13:46: A Set is an unordered collection data type that is
mutable and has no duplicate elements.
Sandeep Dixit (to Everyone): 13:46: There is no indexing
Parth Joshi (to Everyone): 13:46: Index concept is not applicable
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:46: unordered built in
data type.it does not allow duplicate data
Sanskar Jain (to Everyone): 13:46: key:value pair
Sanskar Jain (to Everyone): 13:46: sry sir
Yashika Raikwar (to Everyone): 13:46: its dictionary
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:46: in set their is no
indexing
Vishal Patidar (to Everyone): 13:47: heterogenous type of data
Vishal Patidar (to Everyone): 13:48: data structure behind this?
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:48: a.add()
Sandeep Dixit (to Everyone): 13:48: Add()
Vishal Patidar (to Everyone): 13:48: sir tuple ki methods aur list ki methods same hoti
hai ?
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:49: a.discard()
Sandeep Dixit (to Everyone): 13:49: Discard()
Vishal Patidar (to Everyone): 13:49: remove()
Saumya Vyas (to Everyone): 13:49: Remove()
Sandeep Dixit (to Everyone): 13:51: If we discard if those element are not present in
set then what op
Vishal Patidar (to Everyone): 13:51: it will just traverse
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:52: error
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:53: sir which one is more
appropiate? remove or discard?
Vishal Patidar (to Everyone): 13:53: discard
Naman Tated (to Everyone): 13:53: discard better then remove ??
Vishal Patidar (to Everyone): 13:53: yes
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:53: okay sir
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:54: {} are used
Sanskar Jain (to Everyone): 13:54: key:value pair
Saumya Vyas (to Everyone): 13:54: Key:value pair
Sakshi Modi (to Everyone): 13:54: key value pairs, value can be duplicate but not keys
Sejal Jain (to Everyone): 13:54: key: value pair
Sandeep Dixit (to Everyone): 13:54: Key is unique
Ujjwal Thakre (to Everyone): 13:54: Key value pair
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:54: data is stored in form
of key:value pair
Rakshita Pawar (to Everyone): 13:54: It has a key value pair where key is immutable
and value is mutable
Yashika Raikwar (to Everyone): 13:54: unordered , works on key and value we cannot
change the key but value can
Sandeep Dixit (to Everyone): 13:55: Indexing are userdefined
Parth Joshi (to Everyone): 13:55: Duplicates key are not allowed but values can be
duplicated
Saloni Patil (to Everyone): 13:55: Ordered collection of elements and has key value pair
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:55: indexing is
userdefined
Yash Jaiswar (to Everyone): 13:55: Key should be unique but data may be repeat
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:55: indexing is done by
key
Vishal Patidar (to Everyone): 13:55: is it like enum?
Rakshita Pawar (to Everyone): 13:55: Indexing is not done we canaccess by key
Yashika Raikwar (to Everyone): 13:55: curly brackets are used
rajeshwari kaushal (to Everyone): 13:55: ordered, store like map, key:value,{},case
sensitive
Sameer Nema (to Everyone): 13:55: keys can’t be repeated and must be immutable.
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 13:55: in this key is unique
Shyam Sundar Patidar (to Everyone): 13:55: Dictionary is a collection which is ordered
and changeable. No duplicate members
Parth Joshi (to Everyone): 13:56: order won't be preserved
Vishal Patidar (to Everyone): 13:56: int
Pranjal Gupta (to Everyone): 13:57: int char
Saumya Vyas (to Everyone): 13:57: Int or str
Sandeep Dixit (to Everyone): 13:57: Int, str
Prajjwal Sahu (to Everyone): 13:57: int
Ujjwal Thakre (to Everyone): 13:57: Int and str
Parth Joshi (to Everyone): 13:57: Int
PUSHPENDRA SINGH (to Everyone): 13:57: Int
Yashika Raikwar (to Everyone): 13:57: int boolean float string
Vishal Patidar (to Everyone): 13:57: depends what is the case
Piyush Sharma (to Everyone): 13:57: Int , str
ROHIT Pawar (to Everyone): 13:57: String
Sameer Nema (to Everyone): 13:58: but the keys must be of an immutable data type
such as strings, tuples.
Yashika Raikwar (to Everyone): 13:59: update
Ujjwal Thakre (to Everyone): 13:59: What if value is same and key is different?
Ujjwal Thakre (to Everyone): 13:59: Got it
Naman Tated (to Everyone): 14:00: D.value
Naman Tated (to Everyone): 14:00: d.item
Yash Vardhan Singh Chouhan (to Everyone): 14:00: D. Element
Soumya Jain (to Everyone): 14:01: d.values()
Vishal Patidar (to Everyone): 14:02: yes sir
Ujjwal Thakre (to Everyone): 14:02: Yes
Riya karode (to Everyone): 14:02: yes sir
ROHIT Pawar (to Everyone): 14:02: Yes
Sakshi Naidu (to Everyone): 14:02: Yes Sir
Sandeep Dixit (to Everyone): 14:02: Clear()
Sakshi Modi (to Everyone): 14:02: can we pass list as a key.....like we have declared list
l and then pass this l as a key
Sakshi Modi (to Everyone): 14:03: okay sir
Vishal Patidar (to Everyone): 14:03: @sakshi no
Ujjwal Thakre (to Everyone): 14:04: How can we delete element from dic
Sakshi Modi (to Everyone): 14:04: l=(10,20)
>>> d={l:'sakshi'}
>>> d
{(10, 20): 'sakshi'}
Sakshi Modi (to Everyone): 14:04: we can
Vishal Patidar (to Everyone): 14:04: l is tuple
Yuvraj singh sisodia (18100BTCSES02824) (to Everyone): 14:02: yes
Sakshi Modi (to Everyone): 14:04: ohhh sry...let me try again
Ujjwal Thakre (to Everyone): 14:05: @sakshi..[ ]
Yashika Raikwar (to Everyone): 14:05: yes
Vishal Patidar (to Everyone): 14:06: okay sir
Vishal Patidar (to Everyone): 14:09: no winner condition is implemented
Vishal Patidar (to Everyone): 14:12: sir logic same hona chahiye ya different bhi
chalega board and turn ka?
Raj Gupta (to Everyone): 14:34: no sir i have made conditon for that also
Yashika Raikwar (to Everyone): 14:53: LIMITED REACHED SIR
Surbhi Bhawsar (to Everyone): 14:59: Tq sir
Sakshi Naidu (to Everyone): 14:59: Thank You Sir
Vishal Patidar (to Everyone): 14:59: sir doubts???
Yash Vardhan Singh Chouhan (to Everyone): 14:59: Thank you
Vishal Patidar (to Everyone): 14:59: ok thankyou sir

You might also like