Commit 07535bb5 authored by Adam Blank's avatar Adam Blank
Browse files

Add new file

parent 53c0fea3
No related merge requests found
Showing with 37 additions and 0 deletions
+37 -0
import static java.io.IO.*;
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))]
// animal = input("Which animal am I thinking of between " + ", ".join(choices) + "? ")
// if animal == choice:
// print("Yes! It was " + choice + "!")
// else:
// print("No! It was " + choice + "!");
}
/*
def play_until_exit():
again = True
while again:
play_animal_game()
again = input("Would you like to play again (y/n)? ")
if again.lower().startswith("n"):
print("Goodbye!")
again = False
*/
void play_until_exit() {
}
double play_5_times() {
return 0.0;
}
void main() {
play_until_exit();
}
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