Skip to content

Error with a combination #2

@luongthecong123

Description

@luongthecong123

When I use this code:
print(minFunc('4','(0,4,8,10)d(2,12,15)'))

It gives the error: "
Traceback (most recent call last):
File "D:\DAI HOC BACH KHOA\HK2_2021-2022\2 - Do an THTN\MyKarnaugh\utilities.py", line 463, in
print(minFunc('4','(0,4,8,10)d(2,12,15)'))
File "D:\DAI HOC BACH KHOA\HK2_2021-2022\2 - Do an THTN\MyKarnaugh\utilities.py", line 356, in minFunc
z=order(z)
File "D:\DAI HOC BACH KHOA\HK2_2021-2022\2 - Do an THTN\MyKarnaugh\utilities.py", line 335, in order
if(z[i][j]=='x'):
IndexError: string index out of range
"
Please help !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions