program that receives as input from the user, Python Programming

Write an algorithm for a program that receives, as input from the user, 2 string variables and 2 integer variables; then joins together and displays the combined strings; and finally multiplies the two numbers on a new line. Write, test, and debug the program using Python.

SAMPLE OUTPUT (not including author/program information)

Input string 1? Billy
Input String 2? Bob
Input integer A? 23
Input integer B? 2
BillyBob
46

 

Posted Date: 3/21/2013 3:15:54 AM | Location : United States







Related Discussions:- program that receives as input from the user, Assignment Help, Ask Question on program that receives as input from the user, Get Answer, Expert's Help, program that receives as input from the user Discussions

Write discussion on program that receives as input from the user
Your posts are moderated
Related Questions
Depending on your  previous programming background, we use different sides  through the available readings:   If you have never programmed before: you should start with a

Task This problem creates a list containing names. The list of names will be printed, sorted, printed again in the new sorted order, written to a new output file, and searched. Ca

Data array A has data series from 1,000,000 to 1 with step size 1, which is in perfect decreasing order. Data array B has data series from 1 to 1,000,000, which is in random order.

Perimeter of a polygon Now, let's consider the problem of computing the length  of the perimeter of a polygon. The input is a structure of vertices,  encoded as a list of list

how do you make an if and else statment work in pytho?

from urllib2 import urlopen # Open http://placekitten.com/ for reading on line 4! response = kittens.read() body = response[559:1000] # Add your ''print'' statement here!

Structured data We will often  want  to work  with  large  groups of data.   Rather  than  providing  each  number its own  value,  we need  to manage the data  into natural s

Python Programs You must submit the source code and samples of output for each program.Please do not provide python file (eg. Filename.py). Copy all source code to one word fi

Suppose the cover price of a book is $24.95, but bookstores get a 40% discount. Shipping costs $3 for the first copy and 75 cents for each additional copy. What is the tota

When investing money, an important concept to know is compound interest. The equation FV = PV (1+rate)periods . This relates the following four quantities. The present value (