To get everything on one line with two inputs is not (easily) achievable, as far as I know. The closest you can get is: print 'I have', a=input() print 'apples and', p=input() print 'pears. '
Answer:
Written in Python
name = input("Name: ")
wageHours = int(input("Hours: "))
regPay = float(input("Wages: "))
if wageHours >= 60:
->total = (wageHours - 60) * 2 * regPay + 20 * 1.5 * regPay + regPay * 40
else:
->total = wageHours * regPay
print(name)
print(wageHours)
print(regPay)
print(total)
Explanation:
The program is self-explanatory.
However,
On line 4, the program checks if wageHours is greater than 60.
If yes, the corresponding wage is calculated.
On line 6, if workHours is not up to 60, the total wages is calculated by multiplying workHours by regPay, since there's no provision for how to calculate total wages for hours less than 60
The required details is printed afterwards
Note that -> represents indentation
Answer:
La cilindrada total del motor es de 1997,025 centímetros cúbicos.
Explanation:
Para determinar la cilindrada total Vt en un motor de 4 cilindros de 83,6 mm de diámetro por 91 mm de carrera se debe realizar el siguiente cálculo, sabiendo que para calcular la cilindrada de un motor se debe utilizar la fórmula ((Pi x Diámetro^2)/4) x Carrera x Número de cilindros = X:
((3.14 x 83.6^2)/4) x 91 x 4 = X
((3.14 x 6,988.96)/4) x 364 = X
(21,945.3344 / 4) x 364 = X
5,486.3336 x 364 = X
1,997,025.4304 = X
1 milímetro cúbico = 0.001 centímetro cúbico
1,997,025.4304 milímetros cúbicos = 1997.0254304000005 centímetros cúbicos
Por lo tanto, la cilindrada total del motor es de 1997,025 centímetros cúbicos.
Answer:
Creates order and harmony → <em>color</em>
Creates an emotional impact → <em>texture</em>
Brings a feeling of depth to a design →<em> form</em>
Draws or minimizes attention → <em>space</em>
Divides space and redirects the eye → <em>shape</em>
Explanation:
The visual element that creates order and harmony is <em>color</em>
Color can be used to create visible patterns that can be recognized as being in harmony or disagreement
The visual element that creates emotional impact is <em>texture</em>
Texture can be used to convey either the emotions of the object or the artist
The visual element that brings a feeling of depth to a design is<em> form</em>
Form is used to present a 3-D appearance of an art, and therefore, it is used to show depth of a 2-D drawing
The visual element that draws or minimizes attention is <em>space</em>
The arrangement, location, and size of the space occupied by an object can be used to draw or minimize attention
The visual element that divides space and redirects the eye is <em>shape</em>
Shape is used to divide space into areas easily recognizable by the eye
Python, Unity 3D, C++Notepad