Computer Science, asked by pandey5486, 1 year ago

What is the output of following
a. For i =0 to 5
Print 'HELLO'
Next i

b. For i = 0 to20 STEP 2
Print i
Next i

Answers

Answered by rishuraj46
1

The following example will clarify this. # Output: range(0, 10) print(range(10)) # Output: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] print(list(range(10))) ... Python if...elif...else and ...


pandey5486: Your output are wrong
Similar questions