Lines 61-67
Link Here
|
61 |
leaving an array with subarrays |
61 |
leaving an array with subarrays |
62 |
""" |
62 |
""" |
63 |
# Quick validity checks |
63 |
# Quick validity checks |
64 |
for x in range(1,len(deparray)): |
64 |
for x in range(len(deparray)): |
65 |
if deparray[x] in ["||","&&"]: |
65 |
if deparray[x] in ["||","&&"]: |
66 |
if len(deparray) == x: |
66 |
if len(deparray) == x: |
67 |
# Operator is the last element |
67 |
# Operator is the last element |