<reponame>kondiiq/Optimization-with-gradient-and-no-gradient
# This is a sample Python script.

# Press Shift+F10 to execute it or replace it with your code.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
'''
Index - 249263
NZ =  (z1 + z3 + z5) % 4 + 1
NZ = (2 + 9 + 6) % 4 + 1
NZ = 2
A = (Z2 + Z4 + Z6)% 9 + 1
A = (4 + 2 + 3) % 9 + 1 = 9 % 9 + 1 = 1
A = 1
'''

def print_hi(name):
    # Use a breakpoint in the code line below to debug your script.
    print(f'Hi, {name}')  # Press Ctrl+F8 to toggle the breakpoint.


# Press the green button in the gutter to run the script.
if __name__ == '__main__':
    print_hi('PyCharm')

# See PyCharm help at https://www.jetbrains.com/help/pycharm/

# This is a sample Python script.

# Press Shift+F10 to execute it or replace it with your code.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
'''
Index - 249263
NZ =  (z1 + z3 + z5) % 4 + 1
NZ = (2 + 9 + 6) % 4 + 1
NZ = 2
A = (Z2 + Z4 + Z6)% 9 + 1
A = (4 + 2 + 3) % 9 + 1 = 9 % 9 + 1 = 1
A = 1
'''

def print_hi(name):
    # Use a breakpoint in the code line below to debug your script.
    print(f'Hi, {name}')  # Press Ctrl+F8 to toggle the breakpoint.


# Press the green button in the gutter to run the script.
if __name__ == '__main__':
    print_hi('PyCharm')

# See PyCharm help at https://www.jetbrains.com/help/pycharm/
# This is a sample Python script. # Press Shift+F10 to execute it or replace it with your code. # Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings. Index - 249263 NZ =  (z1 + z3 + z5) % 4 + 1 NZ = (2 + 9 + 6) % 4 + 1 NZ = 2 A = (Z2 + Z4 + Z6)% 9 + 1 A = (4 + 2 + 3) % 9 + 1 = 9 % 9 + 1 = 1 A = 1 # Use a breakpoint in the code line below to debug your script. # Press Ctrl+F8 to toggle the breakpoint. # Press the green button in the gutter to run the script. # See PyCharm help at https://www.jetbrains.com/help/pycharm/