Check out our courses:
Spring Framework in 8 Full Day Course Live: [ Ссылка ]
Coupon: TELUSKO10 (10% Discount)
Complete Java Developer Course Batch-3: [ Ссылка ]
Coupon: TELUSKO10 (10% Discount)
Master Java Spring Development : [ Ссылка ]
Coupon: TELUSKO20 (20% Discount)
Udemy Courses:
Spring: [ Ссылка ]
Java:- [ Ссылка ]
Java Spring:- [ Ссылка ]
Java For Programmers:- [ Ссылка ]
Python : [ Ссылка ]
Git : [ Ссылка ]
Docker : [ Ссылка ]
For More Queries WhatsApp or Call on : +919008963671
website : [ Ссылка ]
Instagram : [ Ссылка ]
Linkedin : [ Ссылка ]
TELUSKO Android App : [ Ссылка ]
In this lecture we will learn:
- What are Tuples in Python
- Tuples re immutable
- Methods used with tuples
- When to use tuples over lists?
- What are Sets in Python?
- Properties of Sets
#1
Tuples:-
Tuple is almost similar to a list in which we can store multiple values.
- Tuples are Immutable and we can change values in them.
- To define a tuple, () round brackets are used.
- We can fetch the values from a tuple using the index value that can be given in a square bracket.
- Tuple will give an error when you tried to change a value in it.
#2
- count method is used to count the occurrences of an element in a tuple. It counts the number of times that an element is present in a tuple.
e.g., If an element of value 5 is present two times in a tuple, then the count method returns 2.
#3
- We can use tuples when we want a list of multiple values but we do not want to change it.
- Iteration in the tuple is faster than the list.
#4
Sets:-
- Set is a collection of unique elements.
- To define the set, we use the {} curly brackets.
- Set never follows the sequence.
- When we print the set, then the sequence of values in output will be different from the sequence of input.
- Duplicate values present in a set will be printed only once in an output.
- Set uses the concept of Hash. Hash is used to improve the performance as it fetches the values as fast as possible.
- Indexing is not supported in sets as it does not follow sequencing.
- Values can not be changed in a set also because index value is not supported.
Github :- [ Ссылка ]-
Editing Monitors :
[ Ссылка ]
[ Ссылка ]
[ Ссылка ].
Editing Laptop :
ASUS ROG Strix - (new version) [ Ссылка ]
Camera : [ Ссылка ]
lens : [ Ссылка ]
Mics
[ Ссылка ]
[ Ссылка ]
Java:- [ Ссылка ]
Spring:- [ Ссылка ]
More Learning :
Java :- [ Ссылка ]
Python :- [ Ссылка ]
Django :- [ Ссылка ]
JavaScript :- [ Ссылка ]
Node JS :- [ Ссылка ]
Rest Api :-[ Ссылка ]
Servlet :- [ Ссылка ]
Spring Framework :- [ Ссылка ]
Design Patterns in Java :- [ Ссылка ]
Docker :- [ Ссылка ]
Blockchain Tutorial :- [ Ссылка ]
Corda Tutorial:- [ Ссылка ]
Hyperledger Fabric :- [ Ссылка ]
NoSQL Tutorial :- [ Ссылка ]
Mysql Tutorial :- [ Ссылка ]
Data Structures using Java :- [ Ссылка ]
Git Tutorial :- [ Ссылка ]
Donation:
PayPal Id : navinreddy20
[ Ссылка ]
Ещё видео!