Check if this basic Python script is coded right

2013-10-26 Thread HC
I'm doing my first year in university and I need help with this basic assignment. Assignment: Write Python script that prints sum of cubes of numbers between 0-200 that are multiples of 3. 3^3+6^3+9^3+12^3+198^3=? My script: count = 0 answer = 0 while count<200: if count%3==0:

Re: Converting HTML to ASCII

2005-02-24 Thread HC Hörsch
Try Beautiful Soup! 1) Be able to handle badly formed, or illegal, HTML, as best as possible. From the description: "It won't choke if you give it ill-formed markup: it'll just give you access to a correspondingly ill-formed data structure." Can anyone direct me to something which could help me