Skip to content

Latest commit

 

History

History
28 lines (13 loc) · 602 Bytes

README.md

File metadata and controls

28 lines (13 loc) · 602 Bytes

Py-filehandling-lab

It is time to learn file handling in python!

Setup:

  • Download the string.txt file

Tasks:

In python do the following:

  • Read from the file and assign it's content to a string
  • Take two substrings
  • Take each substring and wirte it into a differnt "part_(number).txt" file
  • Output: part_1.txt, part_2.txt, each one having a different part (substring) of the string

Submission:

  • After finishing the task upload your Python script file to the forked repo and then create a pull request.