Created
January 23, 2013 07:07
-
-
Save kaworun/4602742 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = {"kaworun", "yozora"} | |
text1 = "さんの得点は…" | |
text2 = "さんの平均点は…" | |
ja = {49, 57} | |
en = {60, 45} | |
ss = {63, 90} | |
db = {95, 99} | |
sum = ja[1] + en[1] + ss[1] + db[1] | |
print(name[1], text1, sum) | |
sum = ja[2] + en[2] + ss[2] + db[2] | |
print(name[2], text1, sum) | |
sum = (ja[1] + en[1] + ss[1] + db[1]) / 4 | |
print(name[1], text2, sum) | |
sum = (ja[2] + en[2] + ss[2] + db[2]) / 4 | |
print(name[2], text2, sum) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment