Prompt the user for two integers

Assignment Help Basic Computer Science
Reference no: EM131716575

This is python question for Python 3 and it is the last one I cannot figure out. I tried everything. Please share the code in the answer box.

Prompt the user for two integers. Using a loop, multiply the first number by the second number using only addition. For example:

Enter multiplicand: 5

Enter multiplier: 10

5 10 15 20 25 30 35 40 45 50

Your total was 50

Reference no: EM131716575

Questions Cloud

Demographic shift will change the segmentation : Comment on how this demographic shift will change the segmentation in:
Prepare the october bank reconciliation for omega service : Prepare the October bank reconciliation for Omega Lawn Service. Record the relevant journal entries to bring the company's records up to date
Ways tracked by digital veillance on an average day : Write a 2-3 page paper about the ways an individual might be tracked by digital veillance on an average day.
Second number using only addition : Prompt the user for two integers. Using a loop, multiply the first number by the second number using only addition. For example:
Prompt the user for two integers : Prompt the user for two integers. Using a loop, multiply the first number by the second number using only addition. For example:
Which parties have influence in the healthcare system : What is a stakeholder analysis and how will this be helpful in understanding which parties have influence in the healthcare system?
Reflect on horace miners famous article on the nacirema : Reflect on Horace Miner's famous article on the Nacirema and think about cultural beliefs and practices.
Determining the programming essentials : Your program for keeping track of team members is coming along, but now you want to be able to include phone numbers and jersey numbers.
Integer parameter and returns the total : Create a function called sumTo which takes an integer parameter and returns the total of all of the numbers from 1 to that number.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  What are the basic steps and components

What are the basic steps and components needed to evaluate submitted proposals?

  Why were there so many dot-com

Why were there so many "dot-com" failures in the early part of 2000's?  What are the lessons learned from these experiences?

  Determine that company strengths and weaknesses

"Internal Environment" Please respond to the following: CHOOSE A COMPANY you researched to determine that company's strengths and weaknesses.  Be as specific as possible.

  What is the fraction of total refresh time per frame spent

What is the fraction of the total refresh time per frame spent in retrace of the electron beam for a noninterlaced raster system with a resolution of 1280 by 1024, a refresh rate of 60 Hz, a horizontal retrace time of 5 microseconds, and a vertica..

  How would the physical security aspect of protecting compute

How would the physical security aspect of protecting computer assets relate in this case? Make sure to give some examples.

  What cell loss rate now would yield a net one-per-million

This allows recovery from any one lost cell. What cell loss rate now would yield a net one-per-million loss rate for 20-data-cell PDUs?

  What misspellings do you think the spell checker would find

Try it and see. Then write a short paragraph explaining the proper use of a spell checker.

  Signature generation process results

DSA specifies that if the signature generation process results in a value of s=0, a new value of k should be generated and the signature should be recalculated

  A number of random positive and negative charges

Write a Vpython program that traces the path of an electron through a number of random positive and negative charges.

  Create table-balance on loan at end of month-visual basic

Using Visual basic a tv set is bought with the loan of 563 to be paid off with five monthly payments of 116 interest is 1% per month.

  The mistake of forgetting the explicitly exit condition

When trying recursion for the first time, most new programmers make the mistake of forgetting the explicitly exit condition.

  Advantages of rfc as a collaborative effort

Discuss why RFCs are important for Internet standards and history. What are the advantages of RFCs as a collaborative effort?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd