<commit_before># GPA cawlculation
def add(a, b, c, d, e, f, g, x):
	gpa = ((a + b + c + d + e + f + g) / x) *4
	return gpa

# output
def output(name, gpa):
	return """
Hey there!{}!
your GPA is {}.
""" .format(name, gpa)

# Main
def main():
	name = raw_input("What is your name?: ")
	x = raw_input("How many classes do you have? ")
	a = raw_input("What is your percentage for one of your classes? In whole number ")
	b = raw_input("What is your percentage for another of your classes? In whole number ")
	c = raw_input("What is your percentage for another of your classes? In whole number ")
	d = raw_input("What is your percentage for another of your classes? In whole number ")
	e = raw_input("What is your percentage for another of your classes? In whole number ")
	f = raw_input("What is your percentage for another of your classes? In whole number ")
	g = raw_input("What is your percentage for another of your classes? In whole number ")
	
	gpa = ((add(int(a), int(b), int(c), int(d), int(e), int(f), int(g))) / int(x)) * 4
	print output()

main()<commit_msg>Finish with simple.py, it works<commit_after># GPA calculation
def gpacalculation(a, b, c, d, e, f, g):
	gpa = (((a + b + c + d + e + f + g) / 7.0) *4.0)/100.0
	return gpa

# output
def output(name, gpa):
	return """
Hey there!{}!
your GPA is {}.
""" .format(name, gpa)

# Main
def main():
	name = raw_input("What is your name?: ")
	x = raw_input("How many classes do you have? ")
	a = raw_input("What is your percentage for one of your classes? In whole number ")
	b = raw_input("What is your percentage for another of your classes? In whole number ")
	c = raw_input("What is your percentage for another of your classes? In whole number ")
	d = raw_input("What is your percentage for another of your classes? In whole number ")
	e = raw_input("What is your percentage for another of your classes? In whole number ")
	f = raw_input("What is your percentage for another of your classes? In whole number ")
	g = raw_input("What is your percentage for another of your classes? In whole number ")
	
	gpa = gpacalculation(int(a), int(b), int(c), int(d), int(e), int(f), int(g))
	print output(name, gpa)

main()
{'fraction_non_alphanumeric': 0.13179723502304147, 'fraction_numerical': 0.004608294930875576, 'mean_word_length': 4.0843091334894615, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7333831', 'n_tokens_mistral': 726, 'n_tokens_neox': 711, 'n_words': 311}