Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please solve the question 1,2,3,4, I will give you thumb up kmarks People Tab Window Help Mail - Chien-Yuan Chen - Out x Mini-Ex1 X

image text in transcribedimage text in transcribed

Please solve the question 1,2,3,4, I will give you thumb up

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

Relational Database And SQL

Authors: Lucy Scott

3rd Edition

1087899699, 978-1087899695

More Books

Students also viewed these Databases questions