No products in the cart.

Observe the code and find which …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Observe the code and find which of the option is not the possible output? Also specify the minimum and maximum value of stop. import random Fruits=["Apple","Mango","Berry","Grapes","Lemon"] start=random.randrange(2)+1 stop=random.randint(start+1,start+2) for i in range(start,stop): print(Fruits[i],end="&") a)Apple&Mango& b)Mango&Berry& c)Mango& d)Berry&Grapes&Lemon
  • 1 answers

🦋Tejasvi Singh🦋 3 years, 3 months ago

File "compiler.py", line 1 import random Fruits=["Apple","Mango","Berry","Grapes","Lemon"] start=random.randrange(2)+1 stop=random.randint(start+1,start+2) for i in range(start,stop): print(Fruits[i],end="&") a)Apple&Mango& b)Mango&Berry& c)Mango& d)Berry&Grapes&Lemon ^ SyntaxError: invalid syntax
http://mycbseguide.com/examin8/

Related Questions

What are called tokens
  • 2 answers
What is mean by buffering in file handling?
  • 1 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App