Progress Log 54 (Python 3): Tasks, Assessment

I’m taking a course entitled “Introduction to Python: Fundamentals” by Microsoft at edX and all of the concepts described below come from that course.   Tasks Code !curl https://raw.githubusercontent.com/MicrosoftLearning/intropython/master/rainbow -o rainbow.txt rainbow = open(‘rainbow.txt’, ‘r’) rainbow_lines = rainbow.readlines() print(rainbow_lines) rainbow_lines.sort() print(rainbow_lines) count = 0 for line in rainbow_lines: rainbow_lines[count] = line[:-1] …

Progress Log 53 (Python 3): ‘w’ or ‘w+’ Modes, .seek(0) Method, .seek() offset & whence, Writable Modes, Writing to a File, read plus Mode r+

I’m taking a course entitled “Introduction to Python: Fundamentals” by Microsoft at edX and all of the concepts described below come from that course.   writing to a file opened in write mode ‘w’ or ‘w+’     .seek(0) method   .seek() offset & whence     writable modes   Writing …

Progress Log 52 (Python 3): .readline() method, .readline() while loop, .readline() with .strip(), .strip() method arguments

I’m taking a course entitled “Introduction to Python: Fundamentals” by Microsoft at edX and all of the concepts described below come from that course.   .readline() method   .readline() while loop   .readline() with .strip()   .strip() method arguments    

Progress Log 51 (Python 3): .readlines() method, .readlines() list return, .close() method

I’m taking a course entitled “Introduction to Python: Fundamentals” by Microsoft at edX and all of the concepts described below come from that course.   .readlines() method .readlines() list return   .close() method  

Progress Log 50 (Python 3): Import Files into Jupyter, Open File in Read Mode – open(), .read() method, .read() a number of characters, using .read() strings

I’m taking a course entitled “Introduction to Python: Fundamentals” by Microsoft at edX and all of the concepts described below come from that course.   Import Files into Jupyter curl imports files to Jupyter session from a web address below is a code using curl to import poem1.txt, the code is …