range( 2,12,3) this question is related to python programming so plz answer it.................. if possible
Answers
Answer:
range( 2,12,3) this question is related to python programming so plz answer it.................. if pos
Mark as brainiest answere
this is your answer mate
# Python Program to
# Python Program to # show range() basics
# Python Program to # show range() basics
# Python Program to # show range() basics # printing a number
# Python Program to # show range() basics # printing a number for i in range(10):
# Python Program to # show range() basics # printing a number for i in range(10): print(i, end =" ")
# Python Program to # show range() basics # printing a number for i in range(10): print(i, end =" ") print()
# Python Program to # show range() basics # printing a number for i in range(10): print(i, end =" ") print()
# Python Program to # show range() basics # printing a number for i in range(10): print(i, end =" ") print() # using range for iteration
# Python Program to # show range() basics # printing a number for i in range(10): print(i, end =" ") print() # using range for iteration l = [10, 20, 30, 40]
# Python Program to # show range() basics # printing a number for i in range(10): print(i, end =" ") print() # using range for iteration l = [10, 20, 30, 40] for i in range(len(l)):
# Python Program to # show range() basics # printing a number for i in range(10): print(i, end =" ") print() # using range for iteration l = [10, 20, 30, 40] for i in range(len(l)): print(l[i], end =" ")
# Python Program to # show range() basics # printing a number for i in range(10): print(i, end =" ") print() # using range for iteration l = [10, 20, 30, 40] for i in range(len(l)): print(l[i], end =" ") print()
# Python Program to # show range() basics # printing a number for i in range(10): print(i, end =" ") print() # using range for iteration l = [10, 20, 30, 40] for i in range(len(l)): print(l[i], end =" ") print()
# Python Program to # show range() basics # printing a number for i in range(10): print(i, end =" ") print() # using range for iteration l = [10, 20, 30, 40] for i in range(len(l)): print(l[i], end =" ") print() # performing sum of natural
# Python Program to # show range() basics # printing a number for i in range(10): print(i, end =" ") print() # using range for iteration l = [10, 20, 30, 40] for i in range(len(l)): print(l[i], end =" ") print() # performing sum of natural # number
# Python Program to # show range() basics # printing a number for i in range(10): print(i, end =" ") print() # using range for iteration l = [10, 20, 30, 40] for i in range(len(l)): print(l[i], end =" ") print() # performing sum of natural # number sum = 0
# Python Program to # show range() basics # printing a number for i in range(10): print(i, end =" ") print() # using range for iteration l = [10, 20, 30, 40] for i in range(len(l)): print(l[i], end =" ") print() # performing sum of natural # number sum = 0for i in range(1, 11):
# Python Program to # show range() basics # printing a number for i in range(10): print(i, end =" ") print() # using range for iteration l = [10, 20, 30, 40] for i in range(len(l)): print(l[i], end =" ") print() # performing sum of natural # number sum = 0for i in range(1, 11): sum = sum + i
# Python Program to # show range() basics # printing a number for i in range(10): print(i, end =" ") print() # using range for iteration l = [10, 20, 30, 40] for i in range(len(l)): print(l[i], end =" ") print() # performing sum of natural # number sum = 0for i in range(1, 11): sum = sum + i print("Sum of first 10 natural number :", sum)
Output :
0 1 2 3 4 5 6 7 8 9
0 1 2 3 4 5 6 7 8 9 10 20 30 40
0 1 2 3 4 5 6 7 8 9 10 20 30 40 Sum of first 10 natural number : 55