As we know that python is both procedural and object oriented language. We will focus on Object oriented aspect of python.
Python is an object-oriented language and classes form the basis for all data types. Python has various built-In Classes like int for integers , float for floating point values and str for character string. i,e: Every thing in Python is class, even primitive data type.
Consider following statement in python :
student_cgp = 7.65
How do we interpret this in python - student_cgp is an identifier and it references a floating point object with value 7.65. Two important point need to be noted here is : 1. Identifiers in python are case-sensitive.In Python, identifier is similar to a reference variable in Java or a pointer variable in C++. Each identifier is implicitly associated with the memory address of the object to which it refers.
2. Unlike Java and C++, python is a dynamically typed language, there is no advance declaration associating an identifier with a particular data type. Although an identifier has no declared type, the object to which it refers has a definite type.
Below is the list of built in class in python. It can be classified broadly mutable and immutable classes. Object of immutable classes cannot be changed subsequently once it has been instantiated.
Commonly used built-in classes for Python |
1. Bool class instances are expressed as the literals True and False.
2. Numbers are mainly of two types - integers and floats. In Python, int and float classes are the primary numeric types. Default value from constructor int() is 0 and float() is 0.0.
3. In Java and c++, we have different int type based on precision. However,python automatically chooses the internal representation for an integer based upon the magnitude of its value.
Before moving ahead we will execute some code in python interpreter and predict outcome:
>>> int(3.14)
3
>>> int(-3.99)
-3
>>> int('137')
137
3
>>> int(-3.99)
-3
>>> int('137')
137
Operators in python:-
Almost all operators are present in Python as in other languages, some of them needs special mention are as follows :Comments in python:-
In python single line comment is done using # (pound).Below code uses # for comment:
# I am comment- it will print Hello World
# I am comment- it will print Hello World
>>>print 'hello world'
hello world
Note: It is recommended not to use triple-quotes for block comments as it is for documentation strings not block comments, although it has a similar effect.Always use # in for single or multiple statements.
I would like to share your article with my friends and colleagues
ReplyDeletePython Training in Chennai
Python Classes in Chennai
AWS Training in Chennai
Data Science Course in Chennai
I am glad that I saw this post. It is informative blog for us and we need this type of blog thanks for share this blog, Keep posting such instructional blogs and I am looking forward for your future posts. Python Projects for Students Data analytics is the study of dissecting crude data so as to make decisions about that data. Data analytics advances and procedures are generally utilized in business ventures to empower associations to settle on progressively Python Training in Chennai educated business choices. In the present worldwide commercial center, it isn't sufficient to assemble data and do the math; you should realize how to apply that data to genuine situations such that will affect conduct. In the program you will initially gain proficiency with the specialized skills, including R and Python dialects most usually utilized in data analytics programming and usage; Python Training in Chennai at that point center around the commonsense application, in view of genuine business issues in a scope of industry segments, for example, wellbeing, promoting and account. Project Center in Chennai
DeleteThis comment has been removed by the author.
ReplyDeleteI am commenting to let you know what a terrific experience my daughter enjoyed reading through your web page. She noticed a wide variety of pieces, with the inclusion of what it is like to have an awesome helping style to have the rest without hassle grasp some grueling matters.
ReplyDeleteSurya Informatics
Thanks for sharing such a great blog Keep posting.
ReplyDeletecompanies address with hr email ids
list of companies in delhi ncr with email address
list of mnc companies in delhi ncr with contact details
I like your post very much. It is very much useful for my research. I hope you to share more info about this. Keep posting Spark Online Training Hyderabad
ReplyDeleteExcellent blog with lots of information. I have to thank for this. Do share more.
ReplyDeleteTally Course | Tally Institute
Thanks for sharing such a great blog Keep posting.
ReplyDeletesales intelligence
CRM software
marketing intelligence
marketing automation tools India
hr contacts database
indian business directory database excel
Company Database India
corporate directory
Indian company database free download
database providers in Mumbai
crm software
company database
Interview Tips | Interview Question and Answers by Searchyours | Free Article Submission Site
ReplyDeleteYou are doing a great job by sharing useful information about Python Programming course. It is one of the post to read and imporove my knowledge in Python Programming .You can check our Comments In Python language,for more information about Python Comments Tutorial.
ReplyDeletecommodity traders database, database providers, stock traders database, stock market database provider, commodity market traders mobile database, commodity traders database india, stock market traders database, database of stock traders, indian stock market traders database, Insurance Database Provider, Loan Database Provider, intraday traders database, Demat Account Holder Database
ReplyDeleteTravel Tours To India
ReplyDeleteWe welcome guests from all over the world and offer them a tailor-made sojourn with our country. Our guests come with expectations and leave with memories of a land, so vibrant and varied. You can choose from a wide array of ready-to-sell packaged tours covering different interests
Best Realtor in Brampton
ReplyDeleteWe will help you in highly profitable insvestment in which you will let your hard earned money delivers you the best highest return on the investments.
Usually I never comment on blogs but your article is so convincing that I never stop myself to say something about it. You’re doing a great job Man learn Python Online Course
ReplyDeletethanks for sharing this is really helpful for my upcoming project
ReplyDeleteEnjoyed reading the article above, really explains everything in detail, the article is very interesting and effective. Thank you and good luck for the upcoming articles Python Programming Training
ReplyDeleteSuch a very useful article. Very interesting to read this article. I would like to thank you for the efforts you had made for writing this awesome article.
ReplyDeleteData Science Course in Pune
Data Science Training in Pune
Nice blog. I finally found great post here Very interesting to read this article and very pleased to find this site. Great work!
ReplyDeleteData Science Training in Pune
Data Science Course in Pune
Nice Post. Very informative Message and found a great post. Thank you.
ReplyDeleteBusiness Analytics Course in Pune
Business Analytics Training in Pune
I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.
ReplyDeleteData Analytics Course in Pune
Data Analytics Training in Pune
I am impressed by the information that you have on this blog. It shows how well you understand this subject.
ReplyDeleteBusiness Analytics Course in Pune
Business Analytics Training in Pune
Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!
ReplyDeleteData Science Training Institute in Bangalore
After reading your article I was amazed. I know that you explain it very well. And I hope that other readers will also experience how I feel after reading your article.
ReplyDeleteBest Data Science Courses in Bangalore
I feel really happy to have seen your web page and look forward to so many more entertaining times reading here. Thanks once more for all the details.
ReplyDeleteData Science Training in Hyderabad | Data Science Course in Hyderabad
You are in point of fact a just right webmaster. The website loading speed is amazing. It kind of feels that you're doing any distinctive trick. Moreover, The contents are masterpiece. you have done a fantastic activity on this subject!
ReplyDeleteBusiness Analytics Training in Hyderabad | Business Analytics Course in Hyderabad
Thumbs up guys your doing a really good job. It is the intent to provide valuable information and best practices, including an understanding of the regulatory process.
ReplyDeleteCyber Security Course in Bangalore
Very nice blog and articles. I am really very happy to visit your blog. Now I am found which I actually want. I check your blog everyday and try to learn something from your blog. Thank you and waiting for your new post.
ReplyDeleteCyber Security Training in Bangalore
After reading your article I was amazed. I know that you explain it very well. And I hope that other readers will also experience how I feel after reading your article.
ReplyDeleteEthical Hacking Course in Bangalore
Wow! Such an amazing and helpful post this is. I really really love it. I hope that you continue to do your work like this in the future also.
ReplyDeleteEthical Hacking Training in Bangalore
I am impressed by the information that you have on this blog. Thanks for Sharing
ReplyDeleteEthical Hacking in Bangalore
Here at this site really the fastidious material collection so that everybody can enjoy a lot.
ReplyDeleteData Science Course
Your work is very good and I appreciate you and hopping for some more informative posts.
ReplyDeleteData Science Training
I couldn't leave your website until I told you that I really appreciated the high quality information it presents to your visitors. I will come back frequently to check for new posts.
ReplyDeleteData Science Courses
This is an excellent article. Thanks for sharing this information. I will be visiting your blog regularly for the latest articles. I will be visiting your blog regularly to see some of the latest posts.
ReplyDeleteData Science Certification
Fantastic post found to be very impressive to come across such an awesome blog. I really felt enthusiast while reading and enjoyed every bit of your content. Certainly, since this blog is being more informative it is an added advantage for the users who are going through this blog. Once again nice blog keep it up.
ReplyDelete360DigiTMG IoT Course
Wonderful blog found to be very impressive to come across such an awesome blog. I should really appreciate the blogger for the efforts they have put in to develop such an amazing content for all the curious readers who are very keen of being updated across every corner. Ultimately, this is an awesome experience for the readers. Anyways, thanks a lot and keep sharing the content in future too.
ReplyDelete360DigiTMG Artificial Intelligence Course
It would also motivate almost everyone to save this webpage for their favorite helper to help get the look published.
ReplyDeleteBusiness Analytics Course in Bangalore
I want to thank you for your time in this wonderful read! I really appreciate every moment and I put you in your favorites to see new things on your blog, a must-have blog!
ReplyDeleteData Analytics Course in Bangalore
I am very enjoying to read your well-written article posts. It seems that you devote a great deal of hard work and time onto your own blog. typeerror nonetype object is not subscriptable
ReplyDeleteTerrific post thoroughly enjoyed reading the blog and more over found to be the tremendous one. In fact, educating the participants with it's amazing content. Hope you share the similar content consecutively.
ReplyDeleteartificial intelligence course in bhilai
Speaking honestly this blog is absolutely amazing in learning the subject that is building up the knowledge of every individual and enlarging to develop the skills which can be applied in to practical one. Finally, thanking the blogger to launch more further too.
ReplyDeleteData Science training in Bhilai
Stupendous blog huge applause to the blogger and hoping you to come up with such an extraordinary content in future. Surely, this post will inspire many aspirants who are very keen in gaining the knowledge. Expecting many more contents with lot more curiosity further.
ReplyDeleteDigital Marketing Course in Bhilai
I have to search sites with relevant information ,This is a
ReplyDeletewonderful blog,These type of blog keeps the users interest in
the website, i am impressed. thank you.
Data Science Course in Bangalore
I have to search sites with relevant information ,This is a
ReplyDeletewonderful blog,These type of blog keeps the users interest in
the website, i am impressed. thank you.
Data Science Training in Bangalore
Fantastic blog extremely good well enjoyed with the incredible informative content which surely activates the learners to gain the enough knowledge. Which in turn makes the readers to explore themselves and involve deeply in to the subject. Wish you to dispatch the similar content successively in future as well.
ReplyDeleteartificial intelligence training in bhilai
Really wonderful blog completely enjoyed reading and learning to gain the vast knowledge. Eventually, this blog helps in developing certain skills which in turn helpful in implementing those skills. Thanking the blogger for delivering such a beautiful content and keep posting the contents in upcoming days.
ReplyDeleteData Science training
Truly incredible blog found to be very impressive due to which the learners who ever go through it will try to explore themselves with the content to develop the skills to an extreme level. Eventually, thanking the blogger to come up with such an phenomenal content. Hope you aarrive with the similar content in future as well.
ReplyDeleteDigital Marketing training
Top quality blog with very informative information found very useful thanks for sharing.
ReplyDeleteData Analytics Course Online
Really, this article is truly one of the best, information shared was valuable and resourceful Very good work thank you.
ReplyDeleteData Scientist Training in Hyderabad
ReplyDeleteI'm really thankful that I read this. It's extremely valuable and quite informative and I truly learned a great deal from it.
Data Science Training Institute in Bangalore
Additionally, this is an excellent article which I truly like studying. It's not everyday I have the option to see something similar to this.
ReplyDeleteData Science Course In Bangalore With Placement
I have to search sites with relevant information ,This is a
ReplyDeletewonderful blog,These type of blog keeps the users interest in
the website, i am impressed. thank you.
Data Science Course in Bangalore
I am here for the first time. I found this table and found it really useful and it helped me a lot. I hope to present something again and help others as you have helped me. PMP Certification in Hyderabad
ReplyDeleteThe information you have posted is very useful. The sites you have referred was good. Thanks for sharing. ExcelR Data Analytics Course
ReplyDeleteThank you for your blog. It's awesome! Water Softener System
ReplyDeleteI have found great and massive information on
ReplyDeleteWorkday payroll training
Workday financials training
Workday training
Python online training
Mulesoft training
Servicenow Online training
Java training
Salesforce training
which helps you also. Thanks for Posting
Impressive blog to be honest definitely this post will inspire many more upcoming aspirants. Eventually, this makes the participants to experience and innovate themselves through knowledge wise by visiting this kind of a blog. Once again excellent job keep inspiring with your cool stuff.
ReplyDeleteDigital Marketing training
Stupendous blog huge applause to the blogger and hoping you to come up with such an extraordinary content in future. Surely, this post will inspire many aspirants who are very keen in gaining the knowledge. Expecting many more contents with lot more curiosity further.
ReplyDeleteData Science training
Truly mind blowing blog went amazed with the subject they have developed the content. These kind of posts really helpful to gain the knowledge of unknown things which surely triggers to motivate and learn the new innovative contents. Hope you deliver the similar successive contents forthcoming as well.
ReplyDeleteDigital Marketing training in Raipur
A decent blog dependably concocts new and energizing data and keeping in mind that understanding I have feel that this blog is truly have each one of those quality that qualify a blog to be a one. 토토사이트
ReplyDeleteVery useful to me for this content . Thanks for posting the article.
ReplyDeletetechnical and non technical
latest artificial intelligence
ccna career opportunities
short term courses with high salary in india
cyber security interview questions
I gotta favorite this website it seems very helpful . 토토사이트
ReplyDeleteThis is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. SprinJene
ReplyDeleteTremendous blog quite easy to grasp the subject since the content is very simple to understand. Obviously, this helps the participants to engage themselves in to the subject without much difficulty. Hope you further educate the readers in the same manner and keep sharing the content as always you do.
ReplyDeleteDigital Marketing Course in Bhilai
Terrific post thoroughly enjoyed reading the blog and more over found to be the tremendous one. In fact, educating the participants with it's amazing content. Hope you share the similar content consecutively.
ReplyDeleteData Science training in Bhilai
Stupendous blog huge applause to the blogger and hoping you to come up with such an extraordinary content in future. Surely, this post will inspire many aspirants who are very keen in gaining the knowledge. Expecting many more contents with lot more curiosity further.
ReplyDeleteData Science Course in Raipur
Truly mind blowing blog went amazed with the subject they have developed the content. These kind of posts really helpful to gain the knowledge of unknown things which surely triggers to motivate and learn the new innovative contents. Hope you deliver the similar successive contents forthcoming as well.
ReplyDeleteDigital Marketing Course in Raipur
From this post I know that your good knowledge of the game with all the pieces has been very helpful. I inform you that this is the first place where I find problems that I look for. You have a clever but attractive way of writing.
ReplyDeleteArtificial Intelligence Course in Bangalore
I want you to thank for your time of this wonderful read !!! I definately enjoy every little bit of it and I have you bookmarked to check out new stuff of your blog a must read blog windshield replacement san diego
ReplyDeleteThis article was written by a real thinking writer.I agree many of the with the solid points made by the writer. dental veneers tijuana
ReplyDeleteExcellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking. used motorcycles san diego
ReplyDeleteTrying to say thanks won't simply be adequate, for the fantasti c clarity in your written work. I will immediately snatch your rss channel to remain educated of any updates ktm motorcycles
ReplyDeleteTrying to say thanks won't simply be adequate, for the fantasti c clarity in your written work. I will immediately snatch your rss channel to remain educated of any updates diseño grafico tijuana
ReplyDeleteSuperb article. Thanks to this blog my expedition has actually ended best natural toothpaste for toddlers
ReplyDeleteThis is also a very good post which I really enjoy reading. It is not everyday that I have the possibility to see something like this real estate broker West Carleton
ReplyDeleteThe article posted was very informative and useful. You people are doing a great job. Keep going courtier immobilier West Carleton
ReplyDeleteAdmiring the time and effort you put into your blog and detailed information you offer! cybersécurité
ReplyDeleteThis site is excellent and so is how the subject matter was explained. I also like some of the comments too. Looking forward to your next post. patio
ReplyDeleteI like your post. It is good to see you verbalize from the heart and clarity on this important subject can be easily observed... avec un agent
ReplyDeleteIt is great, yet take a gander at the data at this address. yoga gatineau
ReplyDeleteHello First time I visite your website. I read some posts I got some good information from your posts. I got quality of work from your website. Now I'm your permanent user many Thanks for your writing freelancer malta
ReplyDeleteVery useful post. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. Really its great article. Keep it up Bioclimatic Pergola Skylounge
ReplyDeleteYou possess lifted an essential offspring..Blesss for using..I would want to study better latest transactions from this blog..preserve posting. shipping from china
ReplyDeleteYou there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. buy traffic
ReplyDeleteThank you for helping people get the information they need. Great stuff as usual. Keep up the great work corporate video production company in Baltimore
ReplyDelete" '훌륭한 유용한 리소스를 무료로 제공하는 가격을 알 수있는 웹 사이트를 보는 것이 좋습니다. 귀하의 게시물을 읽는 것이 정말 마음에 들었습니다. 감사합니다! 훌륭한 읽기, 긍정적 인 사이트,이 게시물에 대한 정보를 어디서 얻었습니까? 지금 귀하의 웹 사이트에서 몇 가지 기사를 읽었으며 귀하의 스타일이 정말 마음에 듭니다. 백만명에게 감사하고 효과적인 작업을 계속하십시오. 출장
ReplyDeleteI truly like only reading every one your web logs. Simply desired to in form you which you simply have persons such as me that love your own work out. Tableau Course in Bangalore
ReplyDeleteYou have a good point here!I totally agree with what you have said!!Thanks for sharing your views...hope more people will read this article!! 메이저사이트
ReplyDeleteThis is very interesting, You are a very skilled blogger. I’ve joined your rss feed and look forward to seeking more of your magnificent post. Also, I have shared your website in my social networks! 먹튀검증
ReplyDeleteHighly appreciable regarding the uniqueness of the content. This perhaps makes the readers feels excited to get stick to the subject. Certainly, the learners would thank the blogger to come up with the innovative content which keeps the readers to be up to date to stand by the competition. Once again nice blog keep it up and keep sharing the content as always.
ReplyDeleteData Science certification in Bhilai
Wonderful blog found to be very impressive to come across such an awesome blog. I should really appreciate the blogger for the efforts they have put in to develop such an amazing content for all the curious readers who are very keen of being updated across every corner. Ultimately, this is an awesome experience for the readers. Anyways, thanks a lot and keep sharing the content in future too.
ReplyDeleteDigital Marketing training
Really wonderful blog completely enjoyed reading and learning to gain the vast knowledge. Eventually, this blog helps in developing certain skills which in turn helpful in implementing those skills. Thanking the blogger for delivering such a beautiful content and keep posting the contents in upcoming days.
ReplyDeleteData Science certification in Raipur
Truly incredible blog found to be very impressive due to which the learners who ever go through it will try to explore themselves with the content to develop the skills to an extreme level. Eventually, thanking the blogger to come up with such an phenomenal content. Hope you arrive with the similar content in future as well.
ReplyDeleteDigital Marketing training in Raipur
I read this article. I think You put a great deal of exertion to make this article. I like your work... real estate broker vanier
ReplyDeleteI like this post and there is obviously a lot to know about this. I think you made some good points in Features also i figure that they having a great time to peruse this post. They might take a decent site to make an information, thanks for sharing it to me Keep working, great job!
ReplyDeleteBraces in Bangalore
Excellent blog with very impressive content found very unique and useful thanks for sharing,
ReplyDeleteInvisalign in Bangalore
The Data Scientist Certification Programme is one of the most comprehensive Data Science Course in Bangalore. It is specially designed to suit both data professionals and beginners who want to make a career in this fast-growing profession. Over 6 months, students will learn key techniques such as Statistical Analysis, Regression Analysis, Data Mining, Machine Learning, Forecasting and Text Mining, and tools such as Python and R Programming.
ReplyDeleteI have to search sites with relevant information ,This is a
ReplyDeletewonderful blog,These type of blog keeps the users interest in
the website, i am impressed. thank you.
Data Science Course in Bangalore
Your content is very unique and understandable useful for the readers keep update more article like this.
ReplyDeletedata science certification in noida
Aivivu chuyên vé máy bay, tham khảo
ReplyDeletemua ve may bay di my
vé máy bay từ mỹ về việt nam mùa dịch
lịch bay từ canada về việt nam
ve may bay tu han quoc ve viet nam
Actually I read it yesterday I looked at most of your posts but I had some ideas about it . This article is probably where I got the most useful information for my research and today I wanted to read it again because it is so well written.
ReplyDeleteData Science Course in Bangalore
Very good message. I stumbled across your blog and wanted to say that I really enjoyed reading your articles. Anyway, I will subscribe to your feed and hope you post again soon.
ReplyDeleteBusiness Analytics Course
Truly incredible blog found to be very impressive due to which the learners who ever go through it will try to explore themselves with the content to develop the skills to an extreme level. Eventually, thanking the blogger to come up with such an phenomenal content. Hope you arrive with the similar content in future as well.
ReplyDeleteDigital Marketing Course
Highly appreciable regarding the uniqueness of the content. This perhaps makes the readers feels excited to get stick to the subject. Certainly, the learners would thank the blogger to come up with the innovative content which keeps the readers to be up to date to stand by the competition. Once again nice blog keep it up and keep sharing the content as always.
ReplyDeleteData Science certification in Bhilai
Wonderful blog found to be very impressive to come across such an awesome blog. I should really appreciate the blogger for the efforts they have put in to develop such an amazing content for all the curious readers who are very keen of being updated across every corner. Ultimately, this is an awesome experience for the readers. Anyways, thanks a lot and keep sharing the content in future too.
ReplyDeleteDigital Marketing Course in Bhilai
I got a web site from where I be capable of really obtain valuable information regarding my study and knowledge.
ReplyDeleteGreat Article… Good Job… Thanks For Sharing…
Website:키스방
I've been troubled for several days with this topic. 먹튀검증, But by chance looking at your post solved my problem! I will leave my blog, so when would you like to visit it?
ReplyDeleteI was surfing net and fortunately came across this site and found very interesting stuff here. Its really fun to read. I enjoyed a lot. 토토사이트 Thanks for sharing this wonderful information.
ReplyDeleteI really enjoy every part and have bookmarked you to see the new things you post. Well done for this excellent article. Please keep this work of the same quality.
ReplyDeleteArtificial Intelligence course in Chennai
Fantastic blog with excellent information and valuable content just added your blog to my bookmarking sites thank for sharing.
ReplyDeleteData Science Course in Chennai
I am contemplating this topic. I think you can solve my problems. My site is at "온라인바둑이". I hope you can help me.
ReplyDeleteThanks for posting the best information and the blog is very helpful.artificial intelligence course in hyderabad
ReplyDeleteFirst of all, thank you for letting me see this information. I think this article can give me a lot of inspiration. I would appreciate 카지노사이트 if you could post more good contents in the future.
ReplyDeleteInformative blog
ReplyDeleteai training in hyderabad