Professional Documents
Culture Documents
2021_07_22 15_00.rtf
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