Problem Statement - B01F-2015D
What are the possible outcome(s) executed from the following code? Also specify the maximum and minimum values that can be assigned to variable NUMBER.
STRING="CBSEONLINE" NUMBER=random.randint(0,3) N=9 while STRING[N]!='L': print STRING[N]+STRING[NUMBER]+'#', NUMBER=NUMBER + 1 N=Nl (i) (ii) (iii) (iv) ES#NE#IO# LE#NO#ON# NS#IE#LO# EC#NB#IS#
Solution
CSKC| Created: 12-Jan-2019 | Updated: 12-Jan-2019|CBSE12D-2015