Commit 16b893fa authored by Adam Blank's avatar Adam Blank
Browse files

Update AnimalGame.java

parent 03f49247
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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 + "!")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment