Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

def main():
try:
#Comment the following lines if not in windows
os.system("cls")
os.system("color 0A")
os.system("clear")
print("Definicion de la Matriz")


Expand Down Expand Up @@ -54,20 +52,17 @@ def main():
if rep.upper() == "S":
main()
elif rep.upper() == "N":
os.system("cls")
os.system("color 07")
os.system("clear")
exit()
else:
print("Not a real option, exiting!")
exit()
#Handle Keyboard Interrupt error
except KeyboardInterrupt as ManualExit:
#Change to "clear" if in linux or IOS
os.system("color 07")
os.system("cls")

os.system("clear")
exit()
finally:
os.system("color 07")
exit()

if __name__=="__main__":
Expand Down