Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please solve the question 2, thks kmarks People Tab Window Help Mail - Chien-Yuan Chen - Out x Mini-Ex1 X + mini-ex/Mini-Ex1.pdf 1/1 MINI-EXERCISE 1

please solve the question 2, thks

image text in transcribedimage 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_2

Step: 3

blur-text-image_3

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 11g SQL

Authors: Jason Price

1st Edition

0071498508, 978-0071498500

More Books

Students also viewed these Databases questions

Question

I receive useful feedback about my performance.

Answered: 1 week ago

Question

I am encouraged to offer opinions/suggestions.

Answered: 1 week ago