Lab 6
Lab 6
Lab 6
29 November 2022
1. Do the following tasks and show your solutions to your demonstrator before the lab ends or
at the start of the next lab. For record-keeping, submit also your solutions and output
screenshots to PutraBlast. Your demonstrator will be evaluating your solutions.
2. Marks will be given according to the lab rubric ("SKR3305 Lab Rubric.docx") on PutraBlast.
3. You can do the lab tasks using cloud-based software such as Google Colab, or a local IDE such
as PyCharm or Visual Studio Code.
*******************************
Solve the Edabit (https://edabit.com/) problems on the next 3 pages using regular
expressions.
Problems:
1.
sub_reddit("https://www.reddit.com/r/relationships/") ➞ "relationships"
sub_reddit("https://www.reddit.com/r/mildlyinteresting/") ➞ "mildlyinteresting"
3.