OS-Python Program-Documentation
Input triangle.txt
Output
Content of triangle.txt after running the code
Output is updated successfully in triangle.txt file.
Note:
Every run verify whether input triangle file contains
3
4
So that the output will be correct.