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
import pytest | |
def power(a, n): | |
""" | |
power(base, exponent) | |
Returns the result of raising base to the power exponent. | |
Parameters: |
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
correct = list(input().split()) | |
grades = dict() | |
while True: | |
temp = list(input().split()) | |
id = temp[0] | |
if id == "999": | |
break | |
answer = temp[1:] | |
grade = 0 | |
for i in range(len(correct)): |
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
fn main() { | |
println!("Hello, World in a New Language"); | |
} |