From 16b893fa69d655db8f02486c5bb491d7b0a54dd5 Mon Sep 17 00:00:00 2001
From: Adam Blank <blank@caltech.edu>
Date: Fri, 15 Nov 2024 21:46:13 +0000
Subject: [PATCH] Update AnimalGame.java

---
 16/AnimalGame.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/16/AnimalGame.java b/16/AnimalGame.java
index 51f1eda..7d07a5e 100644
--- a/16/AnimalGame.java
+++ b/16/AnimalGame.java
@@ -5,7 +5,7 @@ import java.util.Random;
 // def play_animal_game():
 void play_animal_game() {
     // choices = ['cow', 'dog', 'horse', 'cat', 'bird']
-    // choice = choices[random.randInt(0, len(choices))]
+    // choice = choices[random.randInt(0, len(choices)-1)]
     // animal = input("Which animal am I thinking of between " + ", ".join(choices) + "? ")
     // if animal == choice:
         // print("Yes! It was " + choice + "!")
-- 
GitLab