1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Effectus [21]
2 years ago
6

4.11.4 Snake Eyes code HS I cant see to get this right, ant help would be appreciated.

Computers and Technology
1 answer:
Pani-rosa [81]2 years ago
8 0

Answer:

This is python, I don't know what type of programming language you are learning.

import random

# Enter your code here

dice1 = random.randint(1,6)

dice2 = random.randint(1,6)

total = 0

while True:

   if dice1 == 1 and dice2 == 1:

       total += 1

       print("Rolled: " + str(dice1) + " " + str(dice2))

       break

   else:

       total += 1

       print("Rolled: " + str(dice1) + " " + str(dice2))

       dice1 = random.randint(1,6)

       dice2 = random.randint(1,6)

       

       

print("It took you "+ str(total) + " rolls to get snake eyes.")

Explanation:

You might be interested in
Subscribe too my you tube channel for a brainiest
dimaraw [331]

Answer:

Ok

Explanation:

4 0
2 years ago
This is tech question related to mobile and PC.
love history [14]

I am guessing the bluetooth process is same as usb proccess. So when i transfered a video via usb and took out the usb (for apple phone), there <u>was</u> a file but when i clicked it it said that the phone isn't plugged in

4 0
3 years ago
Write a program that reads three numbers and prints "increasing" if they are in increasing order, "decreasing" if they are in de
Lemur [1.5K]
You could assign values to variables and break it up into if else-if else statements.

<span>Pseudocode:</span>

if a < b and b < c:
    print("increasing")

else if a > b and b > c:
    print("decreasing")

else:
    print("neither")

Hope this helps.
7 0
3 years ago
How can I get answers on Collage Board for AP classes when using the inspect element? (AP WORLD HISTORY)
algol13

Answer:

Answer:

You cannot do anything with the inspect element in reality for finding the answers on the College Board for the AP classes. The inspect classes are powerful tools that are hidden inside the browser. You are required to right-click on the web page, and you will then find the innards of that site, the complete source code, as well as the images and the CSS. as well as the icons that it makes use of. and much more. However, by the end of the day. and till morning, you will not be able to find the solution. For finding the answers on the College Board for AP classes. like here the AP world history, you need to understand World history. and for that, you need to read books and then you will come to know the keywords. And once you have the keyword, you can then find the answer to the questions based on those keywords. Hence, its the subject knowledge that matters, and not inspects element which is more of a developer's tool and not a researcher. You can use Search engine commands however as well. And you can post the questions here, and the whole community is here to help you and ensure you get through the AP classes that you deserve. And I will add, best of luck and you will achieve what you deserve.

Explanation:

Please check this as well: https://apstudents.collegeboard.org/ap/pdf/ap-world-history-modern-course-and-exam-description.pdf

4 0
2 years ago
If you were an attacker who wanted to gain access to a network, would you focus on breaching technical controls for applying soc
katrin2010 [14]

Answer:

Baiting. As its name implies, baiting attacks use a false promise to pique a victim's greed or curiosity. ...

Scareware. Scareware involves victims being bombarded with false alarms and fictitious threats. ...

Pretexting. Here an attacker obtains information through a series of cleverly crafted lies. ...

Phishing. ...

Spear phishing

Explanation:

thank me later

7 0
2 years ago
Other questions:
  • Plz answer and dont put a random thing for the points
    11·1 answer
  • is this website just for a bunch of lazy kids bumming off answers? Because if that were the case I'd be one of them.
    9·1 answer
  • if you wanted to round $3.99 located in cell b3, to the nearest dollar, what is the correct microsoft excel formula? a.=round(0.
    10·1 answer
  • How can a signature be added to an email message? Check all that apply.
    10·2 answers
  • What is the output of the following program?
    11·1 answer
  • How should tools be stored <br>​
    13·1 answer
  • A town decides to publicize data it has collected about electricity usage around the city. The data is freely available for all
    9·1 answer
  • I need a solution for this problem asap.
    7·1 answer
  • Assume that students in a course are required to produce a written report on an ICT-related
    14·1 answer
  • the 4gl languages that enable nonprogrammers to use certain easily understood commands to search and generate reports from a dat
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!