Discord Server Red Security Twitter Donation to Red Security Red Security Youtube Channel Red Security Tumblr Profile
Login or Register to Hide ads and Accessing all features on the forum

Tutorial 

Python 2.3: Sets

2 Replies, 1404 Views

(05-01-2022, 09:27 AM)Mr.Kurd Wrote: The thing is how can we differentiatr between them?
Sets, Tuples, Lists and Arrays?

Python has no built-in arrays.
Sets are unordered, unchangeable and unindexed. and represented by curly brackets and do not allow duplicate.
Lists are used instead of arrays in python and represented by square brackets.
Tuple are are ordered and unchangeable and represented by parenthesis
Dictionaries are written with curly brackets, and store data values in keys : value pairs, and do not allow duplicates.
Hope this helps.
Love me like you do Heart
(This post was last modified: 05-05-2022, 07:06 PM by Covid-19.)

Messages In This Thread
Python 2.3: Sets - by Covid-19 - 04-30-2022, 05:21 PM
RE: Python 2.3: Sets - by Mr.Kurd - 05-01-2022, 09:27 AM
RE: Python 2.3: Sets - by Covid-19 - 05-05-2022, 07:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Tutorial Doubly Linked List in Python Covid-19 0 2,290 07-30-2022, 09:15 PM
Last Post: Covid-19
  Tutorial Linked List in Python Covid-19 2 2,722 07-30-2022, 08:25 PM
Last Post: Covid-19
  Tutorial File Handling in Python Covid-19 2 2,760 06-16-2022, 06:17 PM
Last Post: Covid-19
  Tutorial Exceptions in Python Covid-19 0 1,891 06-08-2022, 09:19 PM
Last Post: Covid-19
  Free Automate the boring stuff with Python Covid-19 0 1,647 06-07-2022, 06:58 PM
Last Post: Covid-19
  Tutorial Turtle in Python Covid-19 0 1,881 06-02-2022, 10:14 PM
Last Post: Covid-19
  Tutorial Python 3.5: Class Methods Covid-19 0 1,830 05-29-2022, 01:07 PM
Last Post: Covid-19
  Tutorial Python 3.2: Inheritance in Python Covid-19 2 2,897 05-27-2022, 06:47 PM
Last Post: Covid-19
  Tutorial Python 3.4: Encapsulation and Abstraction Covid-19 0 1,863 05-27-2022, 06:45 PM
Last Post: Covid-19
  Tutorial Python 3.3: Operator Overloading Covid-19 2 2,892 05-26-2022, 08:50 PM
Last Post: Covid-19



Users browsing this thread: 1 Guest(s)