Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python-IDLE Editor Submitted Versions 1-Python-Fstring Magico Highest grade 0/10 wu Hi Willies. You are a conedion. You were in Monty Python 1 Your name and/or

image text in transcribed
image text in transcribed
image text in transcribed
Python-IDLE
Editor Submitted Versions 1-Python-Fstring Magico Highest grade 0/10 wu Hi Willies. You are a conedion. You were in Monty Python 1 Your name and/or your partner's name 2 name input) a CSC1102 Section 4 print("section is: (CSC1102"> Sage - Int(input()) 6.print("name is: 1) 7 print(min) old; Fututure: (sec) secs old.) Python-FstringMagicee #print("EstringMagicee' is! (Python)) 10 Problem Statement Ask the user for his/her name and current age (ignore months/days). Then calculate the current user's age in minutes AND the user's age in seconds for 2 years from now. The output must be on one line, as provided in the sample output Hint: To make your code more readable, use multiline strings and put each mathematical expression within eachf-string Sample Input 21 Sample Output Nhan Now 11937600 eins old; Futurel 725325000 secebid Submit 2.Python Fun SQLWhats Wrong Highest grade 0/10 SQL Coronouncede que estands for Structured Quary Language. La standard language for storing, manipulating and retrieving data in databases Python is emerging as the most popular Language in data science application in the future, you may how to write Python applications that communicate with database servering SQL For now, your Python script (in the Editor feld) is supposed to (1) the use for what types of data to retrieve (2) proche user inputs, and (3) Constructan SQL string. Perhiasa future project will send I SOL string to a database that runs the correct data Modify the starter code in the Editor field una test cases pass. Notice that the Sample Output provides an example of what the command should look ove the sample put Sample Input 2013 123456700 Editor Submited Version 1 tean 2 day basenit() It input Printelect, (database ta 0 SCDSection Python Punsets 9 tablename_Ingat otrot (2012) 10 student_id Inauttinut 11 12 1. Auser may enter tables from previous Year uchas 142017_pring ST1010 2011 fc11 15 But these databases are under maintenance 10 we can only query a ster I 2010 17 10 Therefore, only need the table bd need to trip out the 10 20 reforestted table_ne_year table in front (4 21 Sample Output SELECT A FORMER 578 21 Auer tends to enter 01234567 with an extra 24 at the beginning of the end of the out 2 only need the will be 20 NOTE Histulicing only work with #list or string(ke allt of characters) 21 It will not work with other types like it to 20 reformatted student 1d - student 18 (119) Editor Submitted Versions 3-Python-GradeCalculation Highest grade 0/10 Problem Statement Calculate (and print) the average grade for four equally weighted programming assignments, where each assignment has a different number of points. Also track (and print) the highest and lowest grade, Sample Input Two lists: 1 Your name and/or your partnername 2 1.1 3 print("Enter the list values") 4 1.4 5 for i in range(@.n): 6. (Float(input() >> 7 CSC1102 Section? 8.0 9. for 1 in range(0,n): 10 SHS+1[1] 11 average-5/4 12 print("Average grade is", average) 13 14 mi-110) 15-10) 16- for i in range(1.n): 17- if(nac1[1]): 18 na-1[1] 19- if(mi>1[1]): 20 mi-1[1] 21 print("Lowest grade is "m) 22print("Highest grade is "na) 23 # Python-Gradecalculation 50.0 50.0 75.0 75.0 20 40 70 1. The first list contains the max possible score of each assignment. 2. The second list contains the student's score of each assionment, Submit

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books

Students also viewed these Databases questions

Question

=+ 4. How can policymakers infl uence a nations saving rate?

Answered: 1 week ago