Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

this is on python 3.7. 9. Write a program that prints out all numbers between 1 and 100 Extension #1: write a program that prints

image text in transcribed

this is on python 3.7.

9. Write a program that prints out all numbers between 1 and 100 Extension #1: write a program that prints out all EVEN numbers between 1 and 100 Extension #2: write a program that prints out all ODD numbers between 1 and 100 Extension #3: write a program that asks the user to indicate whether they want to see even or odd numbers. Then display the even or odd numbers between 1 and 100 based on their choice. Note: the user many not supply a valid choice! You will need to re-prompt them if necessary. Here's a sample running of the program Enter "even" o odd: apple Sorry, that's not a valid choice Enter "even" or "odd": odd Here we go 35..95 97 99

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

The World Wide Web And Databases International Workshop Webdb 98 Valencia Spain March 27 28 1998 Selected Papers Lncs 1590

Authors: Paolo Atzeni ,Alberto Mendelzon ,Giansalvatore Mecca

1st Edition

3540658904, 978-3540658900

More Books

Students also viewed these Databases questions