Computer Science, asked by Anonymous, 4 months ago

Fill up:
1. The _____ is a built-in function in Python is used to create a list containing a sequence of numbers.
Class 9th
Chapter Conditional Statements And Loops
Don't even try to post irrevalent answers otherwise your 10 answers will be deleted​

Attachments:

Answers

Answered by Prosnipzz
1

Don't report hope it helps

Python has a command called list that takes a sequence type as an argument and creates a list out of its elements. There is also a str command that takes any Python value as an argument and returns a string representation of it. Two of the most useful functions in the string module involve lists of strings

Answered by Anonymous
24

Answer :

The range() is a built-in function in Python is used to create a list containing a sequence of numbers.

More about range() built in function :

Example -

Create a sequence of numbers from 0 to 5, and print each item in the sequence:

x = range(6)

for n in x:

print(n)

Definition and Usage :

The range() function returns a sequence of numbers, starting from 0 by default, and increments by 1 (by default), and stops before a specified number.

Syntax :

range(start, stop, step)

Similar questions