Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2. (45 points) Access a website of your choice with a comparison chart or any table ofinformation. Input: Name or any string to search for
2. (45 points) Access a website of your choice with a comparison chart or any table ofinformation. Input: Name or any string to search for in a row. Output: Description or another information about the given name in the same row For example, in this website: http://eartheasy.com/live_led_bulbs_comparison.html Sample input: Total cost for 25 bulbs Sample Output: $656.25 (or $656.25 $1000 $4275) OR Sample input: Cost per bulb Sample Output: $5 (or $5 $2 $1)
Using the following website: http://eartheasy.com/live_led_bulbs_comparison.html
can you provide a code that outputs the following data from this table while also following the directions above:
Light bulb projected lifespan Watts per bulb (equiv. 60 watts) Cost per bulb KWh of electricity used over 25,000 hours Cost of electricity (@0.10 per KWh) Bulbs needed for 25,000 hours of use Equivalent 25,000 hours bulb expense Total cost for 25,000 hours Total cost for 25 bulbs LED Savings to household by switching from incandescent bulbs 25,000 hours 8.5 $5 212.5 $21.25 1 $5 $26.25 Energy Savings over 25,000 hours, assuming 25 bulbs per household $656.25 CFL $3618.75 10,000 hours 14 $2 350 $35 2.5 $5 $40 $1000 $3275 Incandescent 1,200 hours 60 $1 1500 $150 21 $21 $171 $4275 $0
Step by Step Solution
★★★★★
3.32 Rating (158 Votes )
There are 3 Steps involved in it
Step: 1
heres a Python script using BeautifulSoup and requests libraries to scrape the provided website and ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started