Question: 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

Python user input and output Instructions: Ask the user to input two

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!