QUESTION IMAGE
Question
- if you try accessing an index which is too large, what happens? you join 2 or more lists together. you make a list out of several lists. you will get an index error. you change a value of something within the lists index. 5. we dont have to use constant variables, or even put the names of constant variables in all capitals. but doing it this way makes it easier for other programmers to understand how these variables are used. true false 6. will python evaluate the following statement as true or false? 5 not in $125.79 true false
Brief Explanations
- For question 4, in programming, accessing an out - of - bounds index results in an index error.
- For question 5, using all - caps for constant variable names is a common convention to make code more understandable for other programmers.
- For question 6, the character '5' is present in the string '$125.79', so the statement '5' not in '$125.79' is False.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
- You will get an index error.
- True
- False