Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

kmarks People Tab Window Help Mail - Chien-Yuan Chen - Out x Mini-Ex1 X + mini-ex/Mini-Ex1.pdf 1/1 MINI-EXERCISE 1 Due: At the beginning of your

image text in transcribed

image text in transcribed

kmarks People Tab Window Help Mail - Chien-Yuan Chen - Out x Mini-Ex1 X + mini-ex/Mini-Ex1.pdf 1/1 MINI-EXERCISE 1 Due: At the beginning of your lab (you will NOT get lab time to work on this) in Week 4 Exercise A Write a while loop that repeatedly asks the user for a number until exactly 3 odd numbers have been given. If you have multiple attempts, I want to see them. Label them "Attempt #1"... and so on. (You don't have to include every single change as an attempt: like 3 or so different attempts is good.) You get partial marks for process/effort. Must be hand-written! Exercise B (has 4 questions) QUESTION 1: You have a code that starts with the following lines - s = input("Give me a word: ") C=input("Give me a letter: ") Write a loop that checks if s contains any letter that occurs before c in the alphabet. Assume all letters in s and c are lowercase. Modify contains to be True or False depending on the above Hint: Remember that "a" "b" Mini-Ex1 X + mi-ex/Mini-Ex1.pdf 1/1 Exercise (nas 4 questions QUESTION 1: You have a code that starts with the following lines - S = input("Give me a word: ") C=input("Give me a letter: ") Write a loop that checks if s contains any letter that occurs before c in the alphabet. Assume all letters in s and c are lowercase. Modify "contains" to be True or False depending on the above Hint: Remember that "a"

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

Beginning ASP.NET 2.0 And Databases

Authors: John Kauffman, Bradley Millington

1st Edition

0471781347, 978-0471781349

More Books

Students also viewed these Databases questions

Question

A 300N F 30% d 2 m Answered: 1 week ago

Answered: 1 week ago