BIO 3360 Lecture Notes - Lecture 3: Delimiter

50 views7 pages
31 Jan 2018
Department
Course
Professor

Document Summary

Lecture 3 - more data structures and manipulations. Midterm is next week, on everything covered so far. Len function to find number in one string. To access a character in a string, use [] operator with specified index (s[i] Can take a second argument as where it should start. Can take third argument as where it should stop. Operator to see if the first string is in the second one. Like a string, list is a sequence of values. Values are characters that can be any type. Values in the list called elements or sometimes items. Can use range to go through a list. Remember these are void methods --> need to print otherwise no output. To delete the last element on the list and also print it. List(x), separate each character in string to one element each in list. Breaks down a string into words by a space characters. Split it by where there is an a.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related textbook solutions

Related Documents