PYTHON PROGRAMMING QUESTION #mysum.py def mysum (items): """Return sum of values in items.""" total = 0 for item in items: total + item return total def main (): data = [4, 9, 2, 8, 3, 2, 5, 4, 21 print ("My sum of", data, "is", mysum (data)) main () I Consider the Python Script above and please answer the following question. .Write a geometric_mean (items) function to return the geometric mean of the values in the list items. The geometric mean of ₁, 2, ..., In is (X₁X2 ... Xn) *. Test your function on random data.
Q: To print a number with three decimal digits, one of the following statements is * :valid fprintf('%6…
A: For the given MCQ, Output using file pointer is given below.
Q: Could you maybe define the metrics that are involved in the process of developing software, if that…
A: Software metrics are measurements of quantifiable or countable software attributes. Measuring…
Q: Please tell us about your knowledge of the FSF (Free Software Foundation).
A: FSF (FREE SOFTWARE FOUNDATION) - The Free Software Foundation, sometimes known as a movement, is a…
Q: Make a java airline reservation system. Things the program should have: - Main menu(options to…
A: Make a java airline reservation system. Things the program should have: - Main menu(options to…
Q: Is there a specific method for transferring a picture through a thin mesh or silk?
A: Answer: We need to write specific method for transferring a picture through this mesh or silk so we…
Q: . It wasn't your fault.
A: the correct answer is part b
Q: Write a Python program which takes two digits m (row) and n (column) as input and generates a…
A:
Q: UDP-based applications may not be able to consistently send data. So how would you do it if that's…
A: User Datagram Protocol is a Transport Layer protocol. Unlike TCP, it is an unstable and…
Q: In what ways are Software Defined Networks superior than traditional hardware networks?
A: Answer:
Q: LDAP and the LDAP protocol are two of the most frequently asked questions about the LDAP protocol.
A: A partition is a section of a hard disc that has been partitioned expressly to execute an operating…
Q: What is big data's size? Is it possible for a student to do research without breaking the bank?
A: Introduction Information that contains a more conspicuous combination, appearing in extending…
Q: Construct a PDA equivalence the following grammar. S → aA A → aABC | bB | a B → b C-C Check whether…
A: The answer is given in the below step
Q: When is it beneficial to break up huge computer processes and programmes into subsystems? What are…
A: Given: Network segmentation is not a novel notion for increasing network security. As a consequence,…
Q: When it comes to memory fragmentation, how does the OS handle it? In order to understand what you're…
A: Memory fragmentation: The defects or inconsistencies in memory sequences, "coherence, and…
Q: explain the algorithm of floyd warshal method in detail?
A: Floyd-Warshall Algorithm is a algorithm for finding the shortest path between all the pairs of the…
Q: 1. In the layer hierarchy as the data packet moves from the upper to the lower layers, headers are…
A: 1. In the layer hierarchy as the data packet moves from the upper to the lower layers, headers are…
Q: You may use your own words to explain the meaning of "sub-band coding" while discussing acoustics…
A: Introduction Define the term "sub-band coding" in the context of acoustics, as well as the role it…
Q: In what ways are formal procedures used to accomplish their goals? At least four reasons must be…
A: Introduction Formal techniques are mathematically rigorous approaches to software and hardware…
Q: Give examples of valid variable names in SNOBOL IV. List the basic statements and briefly explain…
A:
Q: JPEG stands for …………… A) Joint Photo Experts Group B) Joint Photogenic Experts Group C) Joint…
A: The Joint Photographic Experts Group is a group of photographers who work together to solve…
Q: Implement a main method that profiles the performance of insert and outputs: ving the average time…
A: program: import java.util.*;public class Main{ public static void main(String[] args) { int…
Q: In what ways does Amazon Web Services assist in the operation of Netflix as an information system?
A: Amazon Web Services (AWS) is the most comprehensive and widely used cloud platform in the world,…
Q: List reasons why your engagement as an information system user is vital during the system…
A: Introduction: To relate the concepts of user engagement and change, provide four reasons why your…
Q: ……….. a record means a new record to the file. A) Amending B) Updating C) Editing D) Appending
A: Answer is given below:
Q: What do you know about the Free Software Foundation?
A: Answer:
Q: Copying files from Internet Server to the client computer is called ….. A. Telnet B. FTP C. Internet…
A: Indeed, Telnet is a network-based protocol providing two-way virtual access and collaborative…
Q: Explain the important factors to consider when determining whether or not to adopt the prototype…
A: Introduction: The prototyping model is a system development approach in which a prototype is…
Q: 1. Write a program that will read an employee name (use your Name as input in employee name),…
A: Solution - Programming Language - C All necessary comments are included in program code. Program…
Q: WWW BARO WW A transaction has the "isolation property if (a) brings the system from one valid state…
A: Given question are multiple choice selected question.
Q: Did you know that a beautiful gold triangle was introduced to India in the early 13th century? Well,…
A: Coded using C++.
Q: Who invented the high-level language? A) Nicklaus Wirth B) VAN-Neuman C) Dennis M Ritchie D) Donald…
A: Please refer to the following step for the complete solution of the problem above.
Q: The result of the following program is: #include void main() { int a, b, c, x; a=6, b=1, c=8;…
A: The current scenario here is to find the output for the following c++ program.. Program: #include…
Q: ctions between the structured, object-oriented, and agile approaches to software development? Which…
A: Introduction: The term "system development" refers to a well-defined, step-by-step procedure in a…
Q: ed functions, rather to those that are pre-defined, are mo
A: Introduction: You can call a function the same way you call the built-in action and parser functions…
Q: Understand the difference between command line and GUI interfaces. Give real examples the…
A: After being loaded into the computer by a boot program, an operating system (OS) is the program that…
Q: write a program that finds a number of elements in an array without using built-in features
A:
Q: global collection of the high-powered computer that is connected
A: Explanation- The Internet is a global collection of the high-powered computer connected by network…
Q: It's time to explain what user interface is all about. There are three types of user interfaces to…
A: Define the user interface word. Distinguish between graphical user interfaces, natural user…
Q: the essential traits and properties of descriptive models.
A: The descriptive model is used to identify patterns or correlations in the data. In contrast to…
Q: Write a Python program which takes two digits m (row) and n (column) as input and generates a…
A:
Q: Why do threads qualify as "lightweight" processes? What resources are used whenever a thread is…
A: Please find the answer the below step.
Q: The usage of quantum computing has increased as a result of advances in cryptanalysis. Three to five…
A: Quantum computing refers to the type of computation that utilize the collections of the performs the…
Q: if we want to access variable declared in a class directly from main function, then it must be…
A: The access modifiers in OOP specifies the accessibility of a field, method, constructor, or class.…
Q: What safeguards does Linux have in place to keep its data safe? For the programme that aired, this…
A:
Q: Write a Little Man Computer program that accepts five random numbers from the user and displays them…
A: Answer: Little Man Computer (LMC): A Little Man Computer is a simulator that has many of the basic…
Q: Which is a special register, which holds machine instructions? A) Control unit B) RAM C) Control…
A: ANSWER: Control Instruction register
Q: Map, HashMap implementation Create a program that will ask "who is your favorite Basketball…
A: Find Your Code Below
Q: Enjoy your victory................. you can, .because the next time we will beat you while a O to bo…
A: Enjoy your victory ................ you can . because the next time we will beat you The correct…
Q: ertices and edges represents direct dependenci en there is an edge from vertex i to vertex j. Arr…
A: Burk's Line-Weaver Plot: The reciprocal of substrate concentration (1/[S]) and reciprocal of…
Q: the matrix X = [1,4,7;2,5,8;3,6,9]. What does the m max(X) return
A: The Max() is a function will find out the maximum data from the given matrix. Answer: B. m = 3…
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
- this html page <!DOCTYPE html> <html lang="en"> <head> <style>*{ background-color: gray;}a{ text-decoration: none; color: yellow; font-size: 20px;}a:hover{ transition: 1.1px;}input{ background-color: #fff;} .div1 { border:2pxoutsetred; background-color:lightblue; text-align:center; }.boxes{ float: left; width: 49%; border: 2px solid black; background-color: gray; color: #fff;} </style> <script> function maxLengthCheck(object) { if (object.value.length > object.maxLength) object.value = object.value.slice(0, object.maxLength) } function isNumeric (evt) { var theEvent = evt || window.event; var key = theEvent.keyCode || theEvent.which; key = String.fromCharCode (key); var regex = /[0-9]|\./; if ( !regex.test(key) ) { theEvent.returnValue = false; if(theEvent.preventDefault) theEvent.preventDefault(); } } function orderfunction(){ alert("Thank you for ordering from my website!!!"); } function cancelfunction(){…what I have so far please help with what you can <!DOCTYPE html><html> <head> <title>Home Page</title><style> *{ margin: 0; padding: 0;}@media (min-width:1200px){ body{ background-color: skyblue; } main{ display: grid; grid-template-areas: "nav" "h1" "picture" "h3" "iframe" "footer"; grid-template-columns: auto; grid-template-rows: auto; } nav{ display: flex; flex-direction: row; justify-content: end; background-color: aqua; } picture{ text-align: center; } nav>a{ padding: 10px; margin: 10px; } main>h1, h3{ text-align: center; } iframe{ margin: auto; } footer{ position: fixed; left: 0; bottom: 0; width:…<!doctype html><html><head><meta charset="UTF-8"><title>Black Goose Bakery Grid</title><link href="https://fonts.googleapis.com/css?family=Stint+Ultra+Expanded" rel="stylesheet"><style> html { box-sizing: border-box;}* { box-sizing: inherit;}body { font-family: Georgia, serif; font-size: 100%; background-color: white; margin: 0;} /* GRID STYLES START HERE */#layout { margin-left: 5%; margin-right: 5%; } /* VISUAL STYLES START HERE */ /* link styles */a:link, a:visited { color: #DC6903; }a:focus, a:hover, a:active { color: #F9AB33; } a { text-decoration: none; border-bottom: 1px dotted; padding-bottom: .2em;} /* nav styles */nav, footer { font-family: verdana, sans-serif; background-color: #783F27;}nav ul li a:link, nav ul li a:visited { color: #F9AB33;}nav ul li a:focus, nav ul li a:hover, nav ul li a:active { color: #fff;}nav ul { margin: 0; padding: 0; list-style-type: none; display: flex; justify-content:…
- <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="author" content="Enter name"> <title>Shape Up!</title> <link rel="shortcut icon" href="images/favicon.ico"> <link rel="stylesheet" href="main_3_column.css"> </head> <body> <div class="container"> <header> <div class="headerImg"> <img src="images/shape_up_logo.png" alt="Shape Up logo"> </div> <div class="headerTxt"> <h2>Shape Up!</h2> <h3>Find the best fit for you</h3> </div> </header> <main> <div class="sidebar"> <aside> <h2>Additional resources</h2> <ul> <li><a href="https://www.cdc.gov/physicalactivity/basics/pa-health/index.htm">Physical activity and health</a></li> <li><a…<!doctype html><html><head><meta charset="UTF-8"><title>Black Goose Bakery Grid</title><link href="https://fonts.googleapis.com/css?family=Stint+Ultra+Expanded" rel="stylesheet"><style> html { box-sizing: border-box;}* { box-sizing: inherit;}body { font-family: Georgia, serif; font-size: 100%; background-color: white; margin: 0;} /* GRID STYLES START HERE */#layout { margin-left: 5%; margin-right: 5%; /* display as grid */ display: grid;/* 5 grid rows heights */grid-template-rows: 3em 20px [main-start] 150px 300px 5em [main-end];grid-template-columns: [main-start] 1fr [main-end] repeat(3, 20px 150px);} /* VISUAL STYLES START HERE */ /* link styles */a:link, a:visited { color: #DC6903; }a:focus, a:hover, a:active { color: #F9AB33; } a { text-decoration: none; border-bottom: 1px dotted; padding-bottom: .2em;} /* nav styles */nav, footer { font-family: verdana, sans-serif; background-color: #783F27;}nav ul li…<!DOCTYPE html><html lang="en"> below here is color.css <style>body { } .cb-title { } .bb-title { } .cb-btm { } .bb-btm { }</style>above here is color.css <head> <meta charset="UTF-8"> <title>Lab 9 (Week 10)</title> <style> @import url(./styles/box-styles.css); @import url(./styles/color-styles.css); </style></head><body> <h1>Box Model</h1> <div class=" cb-container light-shadow center-element round-borders max-width"> <div class="cb-title title-padding cb full-width"> <h3>Content Box</h3> </div> <div class="cb-btm body-padding cb full-width"> <p><code>content-box </code>gives you the default CSS box-sizing behavior. If you set an element's width to 100 pixels, then the element's content box will be 100 pixels wide, and the width of any border or…
- this html code <html> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>books </title> <link rel="stylesheet" href="1.css" /> </head> <body> <br> <label class="index"> Books list </label> <br clear="all"> <br><br> <div style="width:500px;height:1300px;border:1px solid black;float:left;margin-right:260px"> <label class="books" for="BOOKS" title="BOOKS"> 《tomandjerry》 author tom <input type="checkbox" name="BOOK1" id="1111" value="tomand jerry by tom "> </label> <br clear="all"><label class="books" for="BOOKS" title="BOOKS"> 《THIS IS A BOOK LIST 》 author LIST <input type="checkbox" name="BOOK1" id="1111" value="tomand jerry by tom ">…this html <html> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel ="shortcut icon" href="/assets/images/favicon.ico" type="image/x-icon"> <title>books </title> <link rel="stylesheet" href="1.css" /> </head> <body> <br> <label class="index"> Books list </label> <br clear="all"> <br><br> <div style="width:220px;height:550px;border:1px solid black;float:left;margin-right:160px"><label class="books" for="BOOKS" title="BOOKS"> 《tomandjerry》 author tom <input type="checkbox" name="BOOK1" id="1111" value="tomand jerry by tom "> </label> <br clear="all"><label class="books" for="BOOKS" title="BOOKS"> 《THIS IS A BOOK LIST 》 author LIST <input type="checkbox"…Add reset button to the form, Onclick of reset it will clear the form and alert the user. <!DOCTYPE html><html><head><!--Get Elements Sample--><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1.0"><title>Hands-on Project 1-4</title><link rel="stylesheet" href="styles.css" /><script src="modernizr.custom.05819.js"></script></head> <body><header><h1>Lecture Sample Work 2</h1></header> <article><h2>Shipping Address</h2><form><fieldset id="addroptions"><legend><span>Choose an address</span></legend><label for="homeoption" id="homeaddr"><span>Home</span><br/>1 Main St.<br />Sicilia, MA 02103<input type="radio" id="homeoption" name="shippingaddr"onclick="document.getElementById('streetinput').value = '1 Main St.';document.getElementById('cityinput').value =…