Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A list, RAINBOW_COLOURS, has the contents shown in its watcher below. Suppose the following script is run. Which two of the following statements are true?
A list, RAINBOW_COLOURS, has the contents shown in its watcher below. Suppose the following script is run. Which two of the following statements are true? Select one or more: If the user enters 2 they are told that their secret letter is 'orange " If the user enters 0 they are told that their secret letter is ' r ' If the user enters 7 they are told 'I said from 1 to 7 I' If the user enters 2.5 they are told 'I said from 1 to 7! If the user enters 2 they are told that their secret letter is ' 0 ' If the user enters 0 they are told 'I said from 1 to 7
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started