Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please show me step by step in python 1) Ask the user for 3 numbers ( 3 marks) 2) Using a loop, a) Start from

please show me step by step in python
image text in transcribed
image text in transcribed
image text in transcribed
1) Ask the user for 3 numbers ( 3 marks) 2) Using a loop, a) Start from either the first or second number (2 marks) b) End at either the first or second number (inclusive) (2 marks) c) Increment or decrement by the third number. (4 marks) d) Output the number AND the cubed value of the number (1 marks) Examples on next page Input First number: 1 , second number: 11 , third number: 3 Output 1 cubed is 1 4 cubed is 64 7 cubed is 343 10 cubed is 1000 OR First number : 1 , second number: 11 , third number: 3 Output 11 cubed is 1331 8 cubed is 512 5 cubed is 125 2 cubed is 8 Input First number: 20 , second number: 10 , third number: 4 Output 20 cubed is 8000 16 cubed is 4096 12 cubed is 1728 OR Input First number: 20 , second number: 10 , third number: 4 Output 10 cubed is 1000 14 cubed is 2744 18 cubed is 5832

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

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

ISBN: 1583473858, 978-1583473856

More Books

Students also viewed these Databases questions

Question

Outline the two competing definitions of human resource management.

Answered: 1 week ago