Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

code for range in python 3

0 votes
asked Jun 7, 2019 by anonymous

3 Answers

0 votes
answered Jun 20, 2019 by half_deadlock
for x in range(1,11):

         print(x)

Here you can change the range as per your requirment.
0 votes
answered Jun 21, 2019 by rupa
name=input("Enter name:")

print(name)
0 votes
answered Jun 22, 2019 by Ramakrisna
for i in range(20,30, 2):

     print(i)
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...