- Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about ? On this page you'll find 2 study documents about .
2 results
Exam (elaborations)
Python Exam Bus 104 2023 With 100% Correct Answers
Code 
set on instructions you can give to a computer to make it perform a desired task 
 
 
 
program 
complete piece of code that can be run for a desired purpose 
 
 
 
algorithm 
sequence of defined, computer-implementable instructions to perform a calculation or solve a problem 
 
 
 
input 
returns the user's entry as a string to be assigned to a variable 
 
 
 
strings 
fundamental data types (the other type is a number) 
 
 
 
int 
integer (whole number) 
 
 
 
float 
floating point numb...
Exam (elaborations)
Python exam review 2023 with 100% correct answers
Popularhow do we add a list to a list? 
list[2] = [1, 2, 3] 
 
 
 
how do we ad elements of a list to a list? 
list[2:2] = [1,2,3] 
 
 
 
how do we delete elements from a list? 
del list[1] 
 
 
 
what's another way of deleting elements from a list, besides del? 
list[1] = [] 
 
 
 
what does 3 * [0] return? 
[0,0,0] 
 
 
 
if you really want to copy a list, what can you do? 
list2 = list1[:] 
 
 
 
difference between append and extend? 
append adds whole argument as single element, while extend adds ...