S My library > CS 1010: Algorithmic Problem Solving home> 3.13: LAB: Simple statistics E zyBooks catalog e Help/FA J.15 LAD. SImpie Statistics Given 4 floating-point numbers. Use a string formatting expression with conversion specifiers to output their product and their average as integers (rounded), then as floating-point numbers. Output each rounded integer using the following print('{:.0f}'.format(your value)) Output each floating-point value with three digits after the decimal point, which can be achieved as follows: print('{:.3f}'.format (your_value)) Ex: If the input is: 8.3 10.4 5.0 4.8 the output is: 2072 7 2071.680 7.125 LAB 3.13.1: LAB: Simple statistics 0/10 ACTIVITY main.py Load default template a 84F pe here to search
S My library > CS 1010: Algorithmic Problem Solving home> 3.13: LAB: Simple statistics E zyBooks catalog e Help/FA J.15 LAD. SImpie Statistics Given 4 floating-point numbers. Use a string formatting expression with conversion specifiers to output their product and their average as integers (rounded), then as floating-point numbers. Output each rounded integer using the following print('{:.0f}'.format(your value)) Output each floating-point value with three digits after the decimal point, which can be achieved as follows: print('{:.3f}'.format (your_value)) Ex: If the input is: 8.3 10.4 5.0 4.8 the output is: 2072 7 2071.680 7.125 LAB 3.13.1: LAB: Simple statistics 0/10 ACTIVITY main.py Load default template a 84F pe here to search
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question

Transcribed Image Text:Section 3.1
learn.zybooks.com ybook/VALDOSTACS1010Fal12021/chapter//sec
ks My library > CS 1010: Algorithmic Problem Solving home > 3.13: LAB: Simple statistics
E zyBooks catalog
2 Help/FAC
J.15 LAD. SImpie Statistics
Given 4 floating-point numbers. Use a string formatting expression with conversion specifiers to output their product and their average as
integers (rounded), then as floating-point numbers.
Output each rounded integer using the following:
print ('{:.0f}'.format (your_value))
Output each floating-point value with three digits after the decimal point, which can be achieved as follows:
print ('{:.3f}'.format(your value))
Ex: If the input is:
'8.3
10.4
5.0
4.8
the output is:
2072
2071.680 7.125
318650 2047284 qxzay?
LAB
3.13.1: LAB: Simple statistics
0/10
ACTIVITY
main.py
Load default template
%23
84F
Jype here to search
1prt sc delete
backspace
pause
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images

Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education