Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi! I'm having trouble writing this code (in python). Please help! Thanks. while statements 1 point Compose a program which counts each time that the

image text in transcribed

Hi! I'm having trouble writing this code (in python). Please help! Thanks.

while statements 1 point Compose a program which counts each time that the letter 'y' does not occur in the string text. (That is, the number of characters that are not 'y'.) The result should be stored in an int named count. Your code should use a while loop. The text used is taken from Robert Frost's "The Gum Gatherer". Starter code (click to view) Answer* 1 text = "I told him this is a pleasant life" 2 index = 0 3 count=0 4 while index

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

Oracle Database 19c DBA By Examples Installation And Administration

Authors: Ravinder Gupta

1st Edition

B09FC7TQJ6, 979-8469226970

More Books

Students also viewed these Databases questions