Answer:
import csv
def ideal_weight( filename ):
with open( "filename", "r" ) as file:
for row in csv.DictReader( file):
print ( "Name of person: ",row["name"] )
person_weight = ( 110 * row["height"] )/ 5
print ( "Ideal weight: ", person_weight )
Explanation:
The python source code above is a function which recieves a csv file argument, opens the file and reads each row an ordered dictionary. The function prints the name of each person in the file and their ideal weight.
Answer:
Characteristics of RAM or ROM memory
Explanation:
RAM (Random Access Memory).
• It is a read (R) and write (W) memory (R/W)
• Types of RAM - SDR SDRAM, RDRAM, DDR SDRAM. The difference is the speed in sending data.
• It is used for the operating system, programs and most of the software.
• Recommendations of at least 8 GB of RAM for PC and At least 2 GB of RAM for a mobile.
ROM (Read Only Memory)
• Store instructions and data permanently
• it's read only
• Type of non-volatile memory
• Save data and system information, settings and programs
• Types of ROM - Mask ROM, PROM, EPROM and EEPROM.
- A PC must have at least 256 GB.
Based on the declaration "int b[ 2 ][ 2 ] = { { 1 }, { 3 , 4 } };" given, the value of b[ 1 ][ 0 ] is equal to 3.
<h3>What is Python?</h3>
Python can be defined as a high-level programming language that is designed and developed to build websites and software applications, especially through the use of dynamic commands (semantics), declarations, functions, and data structures.
<h3>What is an int?</h3>
Int is an abbreviation for an integer and it can be defined as a whole number that may either be positive, negative, or zero.
Based on the declaration "int b[ 2 ][ 2 ] = { { 1 }, { 3 , 4 } };" given, we can infer and logically deduce that the value of b[ 1 ][ 0 ] is equal to 3.
Read more on Python integers here: brainly.com/question/18761825
#SPJ1