Shared Flashcard Set

Details

Chapter 18 CSP
Review
5
Computer Science
12th Grade
01/20/2019

Additional Computer Science Flashcards

 


 

Cards

Term
Close
Definition
closes a file after you are done processing it.
Term
Comment
Definition
in Python starts with a # and the computer will ignore everything from that character to the end of that line. Comments are used to explain your code to people.
Term
Find
Definition
function is used like this strName.find(test). It returns the index of test in strName if it is found and -1 if it is not found.
Term
Open
Definition
procedure opens the passed file for either reading or writing.
Term
Split
Definition
function returns a list of strings separated by a specified character. For example, if message = "Nora, Jones, 15" then message.split(",") would return ['Nora', 'Jones', '15'].
Supporting users have an ad free experience!