Skip to content

Instantly share code, notes, and snippets.

@brett-miller
Created March 3, 2018 03:59
Show Gist options
  • Save brett-miller/174ad3117446bcc299f3513afd316d03 to your computer and use it in GitHub Desktop.
Save brett-miller/174ad3117446bcc299f3513afd316d03 to your computer and use it in GitHub Desktop.
0 to 10 addition math facts
with open("math_facts.txt","w") as math_facts_file:
for i in range(0,11):
for j in range(0,11):
math_facts_file.write("{i} + {j}".format(i=i, j=j) + "\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment