2String + integername = "Alice" age = 42 print(name + age)Will it run?RUNSERRORWhy? Corrected line or exact output
5Float inside concatenationscore = 9.5 print("Score: " + score)Will it run?RUNSERRORWhy? Corrected line or exact output
8Casting firstage = 42 print("Age: " + str(age))Will it run?RUNSERRORWhy? Corrected line or exact output
7Complete the bannerFill in the code so it prints a 20-character border and the line Dombit Python.print("=" * _____) print("Dombit" + _____ + "Python") print("=" * _____)Completed code
8Write your ownCreate a three-line banner for your name. Use concatenation, string multiplication, and at least 16 characters per line.Your banner code
Program 1Dombit Student Cardstudent_card.pyStarter variablesname = "Aziza" group = "Python-1" age = 15 average = 92.5Required output============================ DOMBIT STUDENT CARD Name: Aziza Group: Python-1 Age: 15 Average: 92.5 ============================Create the border with "=" * 28Use sep="" and end="" at least onceUse str(age) in one concatenationDo not hard-code the variable values in output stringsstudent_card.py codeSecond-test output for Jasur, Python-2, 17, 88.0
Program 2Dombit Mini Calculatormini_calculator.pyStarter codea = 17 b = 5Required outputA = 17 | B = 5 A + B = 22 A - B = 12 A * B = 85 A / B = 3.4 A // B = 3 B ** 2 = 25Use all six operators: + - * / // **Calculate inside the print() callsUse sep="" and do not hard-code any answersmini_calculator.py codeSeven output lines when a = 20 and b = 4
Program 3Mad Line: The Python Lessonmad_line.pyStarter variablesstudent = "Aziza" topic = "Python" times = 3 score = 9.5Required outputAziza entered Dombit and opened Python. "Practice!" appeared 3 times: Practice! Practice! Practice! Her first score was 9.5/10.Use all four variables and cast times and scoreUse string multiplication for the practice lineUse single and double quotes correctlyProduce exactly four output linesmad_line.py codeBonus +2Pixel badge++++++++++++++ + DOMBIT + ++++++++++++++Optional pixel_badge.py code