CSC108H5 Lecture Notes - Lecture 13: Caseless Ammunition, Substring

41 views3 pages
School
Course
897wjface and 39475 others unlocked
CSC108H5 Full Course Notes
12
CSC108H5 Full Course Notes
Verified Note
12 documents

Document Summary

| s. __sizeof__() -> size of s in memory, in bytes. | return a capitalized version of s, i. e. make the first character. | have upper case and the rest lower case. | return a version of s suitable for caseless comparisons. | return s centered in a string of length width. | done using the specified fill character (default is a space) | return the number of non-overlapping occurrences of substring sub in. | encode s using the codec registered for encoding. | is "utf-8". errors may be given to set a different error. Default is "strict" meaning that encoding errors raise. | "xmlcharrefreplace" as well as any other name registered with. | return true if s ends with the specified suffix, false otherwise. | with optional start, test s beginning at that position. | with optional end, stop comparing s at that position. | suffix can also be a tuple of strings to try.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents