antony_chris Profile Banner
Chris Antony Correya Profile
Chris Antony Correya

@antony_chris

Followers
73
Following
199
Media
15
Statuses
124

https://t.co/aaYYyk1win student at RSET'23๐ŸŽ“ | Python Developer ๐Ÿ | Passionate about Machine Learning ๐Ÿค– | Constantly exploring new possibilities in the world of tech

Joined September 2020
Don't wanna be here? Send us removal request.
@antony_chris
Chris Antony Correya
2 years
Do you remember when you joined X? I do! #MyXAnniversary
0
0
0
@antony_chris
Chris Antony Correya
2 years
4/ And to find the difference between two sets: difference_set = set1 - set2 # or use set1.difference(set2)
0
0
0
@antony_chris
Chris Antony Correya
2 years
3/ To find the intersection of two sets: intersection_set = set1 & set2 # or use set1.intersection(set2)
0
0
1
@antony_chris
Chris Antony Correya
2 years
2/ To find the union of two sets: set1 = {1, 2, 3} set2 = {3, 4, 5} union_set = set1 | set2 # or use set1.union(set2) # union_set is now {1, 2, 3, 4, 5}
0
0
0
@antony_chris
Chris Antony Correya
2 years
1/ Sets automatically remove duplicates, ensuring only unique values are stored. So, if you try to add a duplicate, it won't change the set.
0
0
0
@antony_chris
Chris Antony Correya
2 years
Dose 16 - Sets in Python are like collections of unique elements. They're defined using curly braces or the set() constructor. For example: my_set = {1, 2, 3} ๐Ÿงต #Python #Sets #CodingCommunity
4
0
1
@antony_chris
Chris Antony Correya
2 years
5/ ๐Ÿ“œ Check membership with 'in'. Example: check = 2 in my_tuple # True
0
0
0
@antony_chris
Chris Antony Correya
2 years
4/ ๐Ÿ“œ Find element count using len(). Example: count = len(my_tuple) # 3
0
0
0
@antony_chris
Chris Antony Correya
2 years
3/ ๐Ÿ“œ Concatenate tuples with "+". Example: combined_tuple = my_tuple + (4, 5) # (1, 2, 3, 4, 5)
0
0
0
@antony_chris
Chris Antony Correya
2 years
2/ ๐Ÿ“œ Slicing extracts subsets. Example: subset = my_tuple[1:3] # (2, 3)
1
0
0
@antony_chris
Chris Antony Correya
2 years
1/ ๐Ÿ“œ Access elements by index (0-based). Example: first_element = my_tuple[0] # 1
0
0
0
@antony_chris
Chris Antony Correya
2 years
Dose 15 - A tuple in Python is like a list, but immutable. You create it using parentheses (). Example: my_tuple = (1, 2, 3) ๐Ÿงต #PythonMastery ๐Ÿ“š #CodeLikeAPro ๐Ÿงฌ#LearnPython ๐Ÿ“– #CodingJourney ๐Ÿš€
4
0
0
@antony_chris
Chris Antony Correya
2 years
๐Ÿคฃ๐Ÿคฃ๐Ÿคฃ
@AthamleVargeesu
Freudenfreude Mazhai Kuruvi
2 years
Atlee serving #Jawan to #Bollywood
0
1
0
@antony_chris
Chris Antony Correya
2 years
It's #Friday and I'm ready for a *long* weekend! Who else is ready to relax, unplug, and forget all their responsibilities for a few days? ๐Ÿคฉ #TGIF
0
0
1
@antony_chris
Chris Antony Correya
2 years
๐Ÿš€ Embrace new challenges, ๐Ÿ“š Learn from every experience, ๐Ÿ’ช Grow stronger each day! Let's conquer the world together! ๐ŸŒŽ๐Ÿ’ซ #Motivation #learning #Success
0
0
1
@antony_chris
Chris Antony Correya
2 years
4/ Example of List Operations: my_list = [1, 2, 3] my_list.append(4) # [1, 2, 3, 4] my_list.remove(2) # [1, 3, 4] length = len(my_list) # 3 subset = my_list[1:] # [3, 4]
0
0
1
@antony_chris
Chris Antony Correya
2 years
3/ Common List Operations: Append: Add an item to the end of the list. Remove: Remove an item by its value. Len: Get the number of items in the list. Slicing: Get a subset of the list.
0
0
1
@antony_chris
Chris Antony Correya
2 years
2/ Accessing Elements: You can access elements by their index. Lists are zero-indexed, so the first element is at index 0. Use square brackets to access elements.
0
0
1
@antony_chris
Chris Antony Correya
2 years
1/ Creating a List: Create a list like this: my_list = [1, 2, 3, "Hello", "World"]
0
0
1
@antony_chris
Chris Antony Correya
2 years
Dose 14 - ๐ŸA list is an ordered collection of items. These items can be of any data type: numbers, strings, even other lists! Lists are defined using square brackets [].๐Ÿงต #Python #Lists #PythonBasics #Coding101 #LearnToCode #CodeWithPython
4
0
1