Created
October 14, 2019 18:38
-
-
Save TongBaoTran/e348094afee9f3eaf8408afb074d5e87 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
print("Pairs that sum to 5:") | |
for i in range(1, 6): | |
for j in range(1, 6): | |
if i + j == 5: | |
print("(", i, ",", j, ")") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment