Ask a New Question

Question

Which of these lines of code will generate a random number between 1 and 50?

(1 point)
Responses

input(“1-50”)

input(“1-50”)

print(“1-50”)

print(“1-50”)

import random

import random

num = random.randint(1,50)
1 year ago

Answers

There are no human answers yet.
There are no AI answers yet. The ability to request AI answers is coming soon!

Submit Your Answer


We prioritize human answers over AI answers.

If you are human, and you can answer this question, please submit your answer.

Related Questions

you are to set up a code of consisting of three letters (A to Z) and five numbers (0 to 9). a)... 10. Which of the following codes is used for the diagnosis "closed dislocation of the sternum"? A.8... Hachure lines, or lines with teeth, describe Hachure lines, or lines with teeth, describe _____. a) volcanos b) mountains c) depressions d)... i need help with my code i keep comin up with errors in basic Dim Firstname as string Dim Lastname... icd-9-cm injury code and e codes for motor vehicle accident due to loss of control, and crashing int... What is the icd 9 cm code for chronic cholecystitis and cholelithiasis? Consider the following code. public static int recur3(int n) { if (n == 0) return 0; if (n == 1... What was the code name for the government program in which an atomic bomb was designed and construct... Hammurabi’s code was a code of _______. Please help me.
Submit Your Answer

Question

Which of these lines of code will generate a random number between 1 and 50?

(1 point)
Responses

input(“1-50”)

input(“1-50”)

print(“1-50”)

print(“1-50”)

import random

import random

num = random.randint(1,50)

Ask a New Question
Archives Contact Us Privacy Policy Terms of Use