Learn Python Training from the Best Tutors
Search in
In Python, the basic data types include:
Numbers: This includes integer, float, and complex number types. Integers are whole numbers, floats are decimal numbers, and complex numbers are numbers with a real and imaginary part.
Strings: A string is a sequence of characters enclosed in quotes. Strings can be defined using single quotes ('...') or double quotes ("...").
Booleans: A Boolean value is either True or False.
Lists: A list is a collection of items that are ordered and changeable. Lists are defined using square brackets [].
Tuples: A tuple is a collection of items that are ordered and unchangeable. Tuples are defined using parentheses ().
Sets: A set is a collection of unique items that are unordered and unindexed. Sets are defined using curly braces {}.
Dictionaries: A dictionary is a collection of key-value pairs that are unordered and changeable. Dictionaries are defined using curly braces {}, with each key-value pair separated by a colon (:).
Related Questions
Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com
Ask a QuestionRecommended Articles
Top 5 reasons why you should learn Python
Python is one of the most popular programming languages in the world. It is general-purpose, object oriented, high-level programming language used in a number of programming fields. Python is a great programming language to learn as it will introduce you to the world of programming. If you are from the technical background...
Make a Career as a BPO Professional
Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...
8 Hottest IT Careers of 2014!
Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...
Make a Career in Mobile Application Programming
Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...
Looking for Python Training classes?
Learn from the Best Tutors on UrbanPro
Are you a Tutor or Training Institute?
Join UrbanPro Today to find students near youThe best tutors for Python Training Classes are on UrbanPro
The best Tutors for Python Training Classes are on UrbanPro