why here are three functions? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

why here are three functions?

range(0,200,5) I am not sure if there description of this function, and how to count that? I think that if as it said then line or words inside the parentheses is a function. so there is one I think. or the words before a comma is one function? so which is the right explanation?

6th Sep 2018, 3:11 PM
jill jealous
jill jealous - avatar
3 Answers
+ 2
Range is not a function, but an object. 0, 200 and 5 are parameters. It will count from 0 to 199 by steps of 5, so it will count 0, 5, 10, 15, ..., 190, 195.
6th Sep 2018, 5:20 PM
Anna
Anna - avatar
0
Anna so the definition here should be one word before a comma is a function right?
7th Sep 2018, 12:14 PM
jill jealous
jill jealous - avatar
0
Anna or one parameter before a comma is a function?
7th Sep 2018, 12:14 PM
jill jealous
jill jealous - avatar