Learn Python Training from the Best Tutors
Search in
In Python, the following are the main data types:
1. Numeric types:
- Integer (int)
- Float (float)
- Complex (complex)
2. Boolean type:
- Boolean (bool)
3. Sequence types:
- String (str)
- List (list)
- Tuple (tuple)
- Range (range)
4. Mapping type:
- Dictionary (dict)
5. Set types:
- Set (set)
- Frozen set (frozenset)
6. Binary types:
- Bytes (bytes)
- Bytearray (bytearray)
- Memoryview (memoryview)
You can check the type of a variable using the `type()` function in Python. For example:
x = 5
print(type(x))
View 1 more Answers
Related Questions
1.it's important to doing B.tech after my polytechnic diploma in cse,i want to learn programming in java,python etc. right after diploma.
2.can i get a job after diploma and some programming skills to get a job and i don't want to do B.tech because is very costly and time consuming or i think companies want person with skill
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...
Why Should you Become an IT Consultant
Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...
Learn Microsoft Excel
Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...
Top 5 Skills Every Software Developer Must have
Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today. In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...
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