دوره Python Data Structures ، فصل 1 : Chapter Six- Strings
دربارهی این فصل:
In this class, we pick up where we left off in the previous class, starting in Chapter 6 of the textbook and covering Strings and moving into data structures. The second week of this class is dedicated to getting Python installed if you want to actually run the applications on your desktop or laptop. If you choose not to install Python, you can just skip to the third week and get a head start.
این شامل 7 زیر است:
We're using advanced Python features that I can't simulate in a browser. One of my whole goals in design of this class, is for you not to try to rush through it, but to feel a mastery of it. And feel free to do the same problem over and over and over again, and hide the solution from yourself, until you realize, oh wait a sec.
So we literally have been using strings from the very first moment because the first thing we did is print Hello world, and so, you know, this is a slide from a couple of lectures ago. So we've been manipulating strings and using internal functions and converting them to floats and doing this, that, and the other thing as we have gone forward. The reason has to do with performance in computer science, where zero is easier to add than subtracting one, but whatever.
So, those are the sort of the basic operations we can do, but there's a whole bunch of additional capabilities that are part of what we call the string library. That str confers certain benefits and privileges that strings are capable of doing that are different than what integers can do and different than what files can do and other kinds of types. And so, one of the real advantages of Python 3 is that all the strings internally are what are called Unicode, which means that they can represent a wide range of character sets.
And so the basic idea is we're going to see strings of various kinds, and various lengths and we're going to want to extract pieces of them, okay? A powerful tool that lets you sort of save a lot of keystrokes, etc, etc. The colon is in position 18, the string we pulled out is blank 0 8 4 7 5, and the floating point number is 0.8475, so we've sort of solved this.
Right and I do look forward to working with Chuck and collaborating with my colleagues. I've lost count of how many Coursera's classes I've taken, but it's been fun to have the instructor here. I work in IT, and, after speaking with all of these beautiful people here, I'm so excited.
No, no we don't but I think it just broadens their outlook on IT and I think it's a danger with computing students that they become very, become very focused on the latest, and quickly discard the technology they're using when the next one comes along and forget about it. The world's number four digital stored program computer was left over, used till about' 65 So about' 72 or so it arrived on campus just for storage purposes. We've toyed with ideas of a web-based series of exhibitions, photographing all of the artifacts, and making sure that people can sort of browse through, and move through halls.
I'm sad about that, because I think it's a fine middle ground, for e-copies can be delivered free and no one feels bad about that. So have you ever tried to count the number of derivative books of Think Python? There are a number of English language books that are modified versions.
مشارکت کنندگان در این صفحه
تا کنون فردی در بازسازی این صفحه مشارکت نداشته است.
🖊 شما نیز میتوانید برای مشارکت در ترجمهی این صفحه یا اصلاح متن انگلیسی، به این لینک مراجعه بفرمایید.