Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Date Created: 16/04/2015
- # Author: Kyle Minto
- # Darts Score
- name = raw_input("What is your name?: ");
- score = [];
- total = 0;
- print("\n");
- for i in range(0, 3):
- a = input("Score for dart #" + str(i) + ": ");
- score.insert(i, a);
- total += a;
- print("\n");
- print(name + " scored: " + str(total));
- if(total <= 100):
- print("You need to practice");
- elif(total <= 150 and total > 100):
- print("That's a good score");
- else:
- print("That's a great score!");
Advertisement
Add Comment
Please, Sign In to add comment