Sacred Hearts Academy

				
					import random

options = ["rock", "paper", "scissors"]
computer = random.choice(options)

player = input("Choose rock, paper, or scissors: ").lower()

print("Computer chose:", computer)

if player == computer:
    print("It's a tie!")
elif (player == "rock" and computer == "scissors") or \
     (player == "paper" and computer == "rock") or \
     (player == "scissors" and computer == "paper"):
    print("You win!")
else:
    print("You lose!")



				
			

Move cursor here to open photo

				
					<!DOCTYPE html>
<html>
<body>

<img decoding="async" id="hotspot" 
     src="https://mrthach.org/files/mcdonaldslogo.png"
     style="width:200px; height:auto; cursor:pointer;">

<p style="font-family:Arial; font-size:16px; margin-top:10px;">
  Move cursor here to open photo
</p>

<script>
function openPhoto() {
  var photoURL = "https://mrthach.org/files/chickennuggets.jpg";
  window.open(photoURL, "photoPopup", "width=600,height=400");
}

document.getElementById("hotspot").addEventListener("mouseenter", openPhoto);
</script>

</body>
</html>