subject

Python programming assignment: Magic 8 ball Will give brainliest

 Prompt the user to enter a yes or no question (Will it rain? Will I make an A? etc…).
 Read in the question: read in the line using input()
 Generate a random number between 0-7.
 Create an array of strings with 8 items. The 8 strings will all be yes/no type phrases (“Absolutely!!!”, “There is no
way that will ever happen!”, etc.).
 Based on the random number, print out the position in the array.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 06:20, Ab20600
Which text function capitalizes the first letter in a string of text? question 10 options: upper capital first proper
Answers: 1
image
Computers and Technology, 24.06.2019 10:00, RG1971
(, urgent need): how do i change my username
Answers: 1
image
Computers and Technology, 24.06.2019 23:30, ninja12302
Does anyone have the problem where you try to watch a video to get your answer but it brings up a thing asking your gender to make ads relevant but it doesn't load? btw i won't be able to see the answer so use the comments .
Answers: 1
image
Computers and Technology, 25.06.2019 04:30, almaromeroo13
Consider a list of full names formatted “firstname lastname”, like ["jules verne", "alexandre dumas", "maurice druon"]. write a list comprehension that produces a list with the full names in the format “lastname, firstname”. the resulting list should look like ['verne, jules', 'dumas, alexandre', 'druon, maurice']. the simplest solution may involve a nested comprehension: [ …. for … in [ … for … in … ]].
Answers: 3
You know the right answer?
Python programming assignment: Magic 8 ball Will give brainliest

 Prompt the user to e...

Questions in other subjects: