Input + Addition
by CodeChum Admin
Hopefully you haven't forgotten about your previous lesson, because you're going to need it for this one.
Instructions:
Input two integers (one per line) and make sure to store them in variables.
Add the two integers and print out their sum!
Create a library management system wherein any library member should be able to search books by their title or its author.
Create a library management system using Python program wherein any library member should be able to search books by their title or its author.
We are hungry college students, and we are developing an app to help us find the closest restaurants, in restaurant.py. Your job is to implement the functions below that represent the restaurant abstract data type.
A restaurant is an abstract data type that has a name, a longitude coordinate, and a latitude coordinate. We create a restaurant like this:
The formula below decribes how to convert a temperature on the Fahrenheit scale to a temperature on the Kelvin scale.
TempK = (TempF − 32) × 5/9 + 273.15
Using the variables below Write one line of code to implement the formula
// Kelvin temperature
float TempK;
// Fahrenheit temperature
float TempF = 72;
//One line of code to calculate temperature in Kelvin
We have been asked to produce a graph for a hospital chart, for which in that chat, you have a graph of temperature against system time, wherein the user will make an input.
same thing for pressure, respiration and pulse
with ranges of the temperature being 35*C to 41*C
Pressure having range of 120/80 mmHg to 120/139 mm Hg
Pulse rate being 60 beats/min to 180 or 160 beats/min
Respiration being 20 breaths to 60 breaths
it can all be on a different graph sheet...
making it that complex can have the user's name in it
please i need help....
Create a library management system wherein any library member should be able to search books by their title, author, subject category as well by the publication date.
by CodeChum Admin
We've been giving positive numbers too much attention lately, it's time to let negative numbers take the spotlight this time!
Instructions:
Instructions
Input
A line containing four decimals/floats separated by a space.
-30.22·10.5·-2.2·-1.8
Output
A line containing a negative decimal/floats with two decimal places.
-34.22
by CodeChum Admin
A descending order means values arranged from largest to smallest. But in your case, you're going to have to sort these integers in ascending order, which means from smallest to largest.
Instructions:
Instructions
Input
A line containing three integers separated by a space.
6·1·3
Output
A line containing three integers separated by a space.
1·3·6
by CodeChum Admin
We've been giving positive numbers too much attention lately, it's time to let negative numbers take the spotlight this time!
Instructions:
Instructions
Input
A line containing four decimals/floats separated by a space.
-30.22·10.5·-2.2·-1.8
Output
A line containing a negative decimal/floats with two decimal places.
-34.22