There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

= ((122+1)^121) mod 122+ ((122-1)^123)mod 122 ----- simple arithmetic

= (1^121) mod 122 +((-1)^123) mod 122 ----- a^k % n = (a%n)^k

= 1 mod 122+ (-1) mod 122 ------ simple algebra

= (1-1) mod 122 --------- (a+b) % n = a%n + b%n

=0 --------- simple arithmetic and 0 mod a = 0 (where a not= 0)