courses
courses copied to clipboard
Cyclic groups code change suggestion (Modular Arithmetic - Foundations of computation)
Description
Suggestion to change the print statement that is part of "Cyclic groups" of "Modular Arithmetic"(Course: Foundations of computation).
Change
print(f"{g}^{count}={prev_power}")to
#print(f"{prev_power}mod{m}, {prev_power}")
Are you interested in working on this improvement yourself?
- Yes, I can once it is confirmed that it is fine to change.
Explanation for the changes suggested:

