Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The text file wsj Apple contains an article from Wall Street Journal newspaper, titled New Apple App Can Replace Your Gym. Write a program that

  1. The text file wsj Apple contains an article from Wall Street Journal newspaper, titled New Apple App Can Replace Your Gym. Write a program that reads the content of this file line-by-line and examines each line to determine if it contains the word Apple. If it does, it writes that line in another text file. At the end it prints the number of lines in the file and the number of lines that contains the word Apple. in python

the file-------- WSJ apple typed out below

New Apple App Can Replace Your Gym One revelation Ive had during the coronavirus crisis is that there is no way Im paying for a gym again. Working out from home is more affordable and convenient. Depending on the app, it can be pretty dang fun, too. Goodbye forever, grimy locker-room showers. Its been nice knowing you. Apples Fitness+ is another digital workout subscription after your gym money. While the new program, launching Monday, arrives late to a well-established, highly competitive app category, it is right on time for people like me, who are still experimenting with different online training solutions. But the apps chief requirementthat you own an Apple Watch will likely turn off people who would otherwise give it a try. Fitness+ will appear as a new tab in Apples existing Fitness app. A subscription comes with new weekly video workouts across 10 disciplines, including cycling, treadmill running, yoga and strength. An attractive cast of high-energy trainers draped head to toe in Nike which has a partnership with Apple hosts the sessions. Equally energetic music playlists serve as the soundtrack. Compared with similar fitness apps, it is a relatively good deal. Fitness+ costs $9.99 a month, and you can save by paying the $79.99 annual rate. Everyone in your Apple familyup to six peoplegets access to the subscription. And there are potentially more savings on the $29.95-a-month Apple One Premier plan if you already subscribe to Apple Music and two terabytes of iCloud storage. The most analogous app, Peloton Digital, costs $12.99 a month for one user. Theres a catch: A Fitness+ subscription requires an Apple Watch, Series 3 ($199) or newer. While the apps core workout experience is video, streamed on an iPhone, iPad or Apple TV, you cant access the app without the smart-watch. If you forget to charge your watch, or left it at home while you are traveling, you can still access the videos and do workouts, but you need to physically own an Apple Watch to sign up for Fitness+. Wherever you fire up the app, it syncs immediately with your watcheven if you use an Apple TV in somebody elses houseand your heart rate and calorie data appear on screen. Any song featured in a workout can be added to your Apple Music library, if you are a subscriber. The watch serves as a remote control, able to play classes on other Apple devices. Apple also leverages any workout data you have shared to your iPhones Health app, including from third-party fitness apps. So if youve done yoga with Glo or cycling with Peloton, Fitness+ will use that history to recommend similar workouts. The workouts I tried are comparable to the pricey in-person versions offered at boutique fitness studiosthe cycling ones, in particular. The rides range from 45-minute sessions to ultra-quick 10minute sprees. The workout itself includes a period of fast sprints, slower high-resistance climbs and recovery. You can match your pedal to the beat or meet the target rotations a minute called out by the trainer. A burn bar turns up the competition by comparing your calories-burned effort with others. There is chill yoga, and there is energizing yoga that will work up a sweat. The high-intensity interval training, strength and core workouts are short30 minutes or lessand I often played a couple in a row. Dance and rowing are two disciplines here that arent common in other fitness apps. While I didnt have actures cess to a rower, I could at least dance. Or try to, anyway. The workouta 20-minute cardio-infused hip-hop class was both terribly hard and stupidly fun. And according to the numbers on screen, I successfully arm-pumped my way to some burned calories. What differentiates Apples app is its approach to workout newbies. There is a starter collection of videos as a sort of introductory course to each of the apps disciplines. And even in the harder sessions, one of the trainers in the background offers a modified version for less-advanced practitioners. Unfortunately for me, there was no easy version of the dance workouts. Overall, Fitness+ feels like a Peloton Digital Lite (which doesnt otherwise exist). Apples app and Peloton Digital have high production value, motivating music playlists and charismatic trainers. But Fitness+ doesnt have as many workout types, and the library of workouts isnt as large. It also lacks Pelotons live and social features. The Apple app does have one edge over Pelotons: You can download classes and play them offline. While you can preload Peloton content for more stable playback, the workouts require an active internet connection to play. There is plenty of room for improvement. Some high-intensity, strength and core workouts require dumbbells, while others dont. I would like to be able to filter results, by no equipment or weights, for instance. Fitness+s focus on metrics can be confusing, especially for the beginners at which the app is aimed. Fitness+ doesnt provide any context around heart rate. Is the number shown good or bad? Is it higher or lower than a minute ago? Why care about heart rate at all? Actionable insights would be helpful here. I like Zovas approach. The iOS-only $60-a-year fitness and nutrition app similarly uses the Apple Watch to measure heart rate, and shows the data alongside the streamed exercise. The apps workouts are based on heart-rate zone training, which is an assessment of the intensity of your workout as a percentage of your maximum heart rate. In other words, Zova shows you what to do with your numbers. Still, Fitness+ is a great valueat least for Apple Watch owners. But dont pay up just yet. The one-month free trial should tide you over until you read my guide to fitness apps, sometime in January.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

2nd Edition

0470624701, 978-0470624708

More Books

Students also viewed these Databases questions

Question

a. What is the purpose of the team?

Answered: 1 week ago

Question

What are Measures in OLAP Cubes?

Answered: 1 week ago

Question

How do OLAP Databases provide for Drilling Down into data?

Answered: 1 week ago

Question

How are OLAP Cubes different from Production Relational Databases?

Answered: 1 week ago