irish-c / double-even-and-triple-odd-num-sorter Goto Github PK
View Code? Open in Web Editor NEWA python method that reads source text file "integers.txt" that contains 20 integers. Then, integers are separated into two: The first output file "double.txt" contains square of even numbers and the second file is "triple.txt" contains cube of odd numbers. See the demo at:
Home Page: https://youtu.be/s-5z5zIvpf4?t=74