Skip to main content

Section 14.7 Plan 9: Print info

Itโ€™s very common to print the information you have just scraped.

Subsection 14.7.1 Plan 9: Example

If you want to print info from only one tag, like if youโ€™ve just used Plan 4: Get info from a single tag, then do this:
Goal: Print the info # Print the info print(info)
If you want to print info from multiple tags, like if youโ€™ve just used Plan 5: Get info from all tags of a certain type, then do this:
Goal: Print the info # Print the info print(collect_info)

Subsection 14.7.2 Plan 9: Exercises

Activity 14.7.1.

You have attempted of activities on this page.