allioop384
allioop384 allioop384
  • 11-12-2020
  • Computers and Technology
contestada


To generate integers between and including - 10 to 10 you would use:

randint(-10, 10)

random.random()*20 +
-10

random.randint(-10, 10)

random.random(-10, 10)

Respuesta :

tonb
tonb tonb
  • 11-12-2020

Answer:

random.randint(-10, 10)

Explanation:

random.randint(a, b)

Return a random integer N such that a <= N <= b. Alias for randrange(a, b+1).

Answer Link

Otras preguntas

why is 5/12 greater than 3/4
find decimal notation. 0.6%=
express the sum radical -25+ 2radical-9 as a monomial in term of i
who were the real rulers of sparta?
What property justifies the following statement?If 4x+6=20, then 4x=14.
What were three  things happened to  slaves during their first year in America?
What answer of 5ab/8c divided by 10b/c help with  quotient
A line has a slope of -5 and passes through (1,-1).which is the equation of the line in point - slope form?
Use elimination to solve this system of equations. 2r + 3s= 9 and 3r + 2s= 12
Kelp and other various types of seaweeds are examples of ________ .a. green algaeb. blue-green algaec. brown algaed. yellow algae