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

A news story suggests that high-profile producers in Hollywood hold enormous power over young actresses and can coerce these actresses into doing things they ma
can sum 1 simplify these for me they are easy worth 20 pts
PLLLLLLZZZZZZZZZ 10 PTS AND BRAINLIEST Few people live in the northernmost areas of Russia where it is cold year-round and frequent snow makes agricultural pro
Brainliest + points! Please show your work :)
Pr =9x -1 and qr=43 find x
What set of transformations is performed on EFHG to form E’F’H’G
pls help im still exaushted
Simplify to create an equivalent expression 8k-5(-5k+3) Choose 1 answer: A 33k+1533k+15 (Choice B) B 33k-1533k−15 C 3k+33k+3 D 3k-33k−3
Is 'can' a finite verb? The concerning sentence is "Whenever they can, cows eat grass." Is 'can' considered a finite verb in that sentence? I know 'eat' is one
rearrange x = 3g + 2 to make g the subject