Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python user input and output Instructions: Ask the user to input two integer values - bigNum and smallNum. The value for bigNum should be larger

Python user input and output

image text in transcribed

Instructions: Ask the user to input two integer values - bigNum and smallNum. The value for bigNum should be larger than smallNum. You will need to convert the values to ints. Calculate the value of big Num/smallNum and store it in a variable. Print out that you are going to divide big Num by smallNum, and print the result. It should look something like this: print(bigNum, 7. smallNum = yourVariableName) Using the same format as above (calculate the value, store it in a variable, and then print to the screen), do the following equations: bigNum floor smallNum bigNum to the power of smallNum smallNum to the power of 1/4 of big Num bigNum modulus smallNum Once you have completed the above, ask the user for a float number and a word. Convert the string that you have received into a float, and then print out the value of that number times 2. Using one print statement, print out the original number, the number times 2, and the sentence "The word is 'word", all on separate lines. So, if I gave you the value 3.0 and the word cheese, the output should be: 3.0 6.0 The word is cheese

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 Database Relational Model A Retrospective Review And Analysis

Authors: C. J. Date

1st Edition

0201612941, 978-0201612943

More Books

Students also viewed these Databases questions