]> Untitled Git - axy/ft/python08.git/commitdiff
newlines #2
author= <=>
Wed, 1 Apr 2026 15:19:46 +0000 (17:19 +0200)
committer= <=>
Wed, 1 Apr 2026 15:19:46 +0000 (17:19 +0200)
ex01/loading.py

index d8d8bf0ab39127876b1274a4db67f19b839694cd..d970a26670cdb61ab12ecfe220e3e25381657dfc 100644 (file)
@@ -21,7 +21,8 @@ def check_dependencies() -> bool:
             all_ok = False
 
     if not all_ok:
-        print("\nTo install missing dependencies, run:")
+        print()
+        print("To install missing dependencies, run:")
         print("pip install -r requirements.txt")
         print("OR")
         print("poetry install")
@@ -54,6 +55,7 @@ def analyze_data() -> None:
     plt.legend()
     plt.grid(True)
     plt.savefig("matrix_analysis.png")
+       print()
     print("Analysis complete!")
     print("Results saved to: matrix_analysis.png")
 
@@ -62,7 +64,9 @@ def main() -> None:
     """Main function to run the loading program."""
     try:
         print("LOADING STATUS: Loading programs...")
+               print()
         if check_dependencies():
+                       print()
             analyze_data()
     except Exception as e:
         print(f"An error occurred: {e}")