Python programming assignment: Magic 8 ball
Will give brainliest
Prompt the user to e...
Computers and Technology, 22.07.2021 07:40 datboyjulio21
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.
Answers: 2
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
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
Mathematics, 14.11.2019 09:31
Mathematics, 14.11.2019 09:31
Social Studies, 14.11.2019 09:31
History, 14.11.2019 09:31
Mathematics, 14.11.2019 09:31