1. Print your name, id, section using diffent formatting (f-string,…
Question Answered step-by-step 1. Print your name, id, section using diffent formatting (f-string,… 1. Print your name, id, section using diffent formatting (f-string, format and using %) (Name:Cecilia Buffo) ID: 1234589I know how to print with the .format function but not with f-string and % . I don’t know anything about these two so I need step explainations about how these work including step by step explaination of each line of code. Other two functions that has to be used are input and print function.2. Problem 3: What’s the logic ?For the following code segments, without copying it over to the IDE and running it, find out what will be output to the console. Justify your answer. I need explaination about what’s happening here. (a)a = Trueb = Falsec = Trued = Falseprint(not b or c and d)print(not (b and d) or not (not (a and c)) and not c) (b)a = 1b = 2c = 3d = 11print((d%c)**b)print((a + b > c) or (b < c)) 3)Suppose you have started working on an hourly basis as a librarian in your institution. You want to know how much you will earn a month given that you know how many hours you will work per week and how much you receive per hour. However, whatever amount you earn per month will have 20% of it deducted and that amount will be instead used to pay part of your tuition fees. Create a program that finds out the earnings before and after the deduction. Also find out the yearly earnings (without deduction) and how much of your tuition fees you are paying yourself annually. Assume that there are 4 weeks per month. Note that here input function has to be used not required to use loops. Arithmetic operators can be used where applicable. Sample Input:Enter the number of hours you will work per week: 20Enter the amount you earn per hour: BDT. 150Sample Output:Monthly earning: BDT. 12000Monthly earning after deduction: BDT. 9600Yearly earning: BDT. 144000Amount paid as tuition fees per year: BDT. 28800CodeTextI need the summary of the problem along with the step step explanation of the solution A huge thanks to the person who can solve the problem and make me understand the solution. Computer Science Engineering & Technology Python Programming CSC 100 Share QuestionEmailCopy link Comments (0)


