Skip to content

Commit 2faf2e9

Browse files
rohan472000ignacio-gn
authored andcommitted
Update linear_discriminant_analysis.py
1 parent 8ab9745 commit 2faf2e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: machine_learning/linear_discriminant_analysis.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ def main():
399399
if input("Press any key to restart or 'q' for quit: ").strip().lower() == "q":
400400
print("\n" + "GoodBye!".center(100, "-") + "\n")
401401
break
402-
system("cls" if name == "nt" else "clear")
402+
system('clear' if os.name == 'posix' else 'cls')
403403

404404

405405
if __name__ == "__main__":

0 commit comments

Comments
 (0)