Please answer these.. Thank you!

Question Answered step-by-step Please answer these.. Thank you! Image transcription text1. a=5 a + 2.7 print(a) question: what will be the output? * (1Point) O 7.7 O7 none of the above an exception is raised 2.a = 5 b = 2 c = a/b print(c) question: what will… Show more… Show moreImage transcription text3. a = 5 b = 2 c = float(a) / b print(c) question: what will be the output? (1 Point)O 2 O 2.5 O O an exception is raised 4. a = ‘2’ b = ‘A’ c= a+b print(c) question:what will be the output? (1 Point) 67 60 O none of the above an e… Show more… Show moreImage transcription textquestion: what will be the output? * [El [1 Point] O none of the above 6. a= ‘A’ c = TA print{c} question: what will be the output? ‘I.’ [1 Point] 0 noneof the above … Show moreImage transcription text7. a = ‘A’ b = ‘B’ print(a + b) question: what will be the output? (1 Point) O A+BO BA O none of the choices O AB 8. (a, b) = (2, 5) (a, b) = (b, a) print(a, b) *(1 Point) none of the choices O 25 52 25… Show moreImage transcription text9. a = 5 b = 2 a = a+ b b = a – b a = a – b print(a) (1 Point) O O 2 O 5 O none of theabove 10. a = 5 b * b = a print(b) * (1 Point) O 5 O 25 O none of the choices O anerror occured… Show moreImage transcription text11. (a, b) = (2, 3) (c, d) = (4, 5) print((a, b) + (c, d)) * (1 Point) O (6, 8) O (2, 3, 4, 5)O (8, 6) O none of the above 12. (a, b) = (2, 3) (c d) = (4, 5) print((a, b) – (c. d)) * (1Point) O (6, 8) O (2, 3, 4, 5) O (8, 6) O none of the above 13. (a, b) = … Show more… Show moreImage transcription text14. a = “harsh’ b = a[1:len(a)] print(b) question: what will be theoutput? (1 Point) hars O arsh O harsh none of the above 15. b a = tar’b = “rat” 2*(a + b) is question: what will be th… Show more… Show moreImage transcription text16. a = ‘harsh” b = [-3, len (a)] question: what will be the output? (1 Point)Orsh O arsh O none of the above O harsh 17. a = ‘harsh” b = [-3, len (a)]question: what is the type of the variable b? * (1 Point) O integer O f… Show more… Show moreImage transcription text19. a = 5 b = 2 c = float(a) / b print(c) d = int(c) question: what is the type of thevariable d * (1 Point) O float Ointeger string boolean 20. What will be the output ofthe following? if 28: print(Hi) else: print(‘Bye’) * (1 Point) Bye OH none of… Show more… Show moreImage transcription text22. a = 34 b =7 C= 9 if a> b: if b>c print(b) else: print (c) else: if bec print(c) else: print (b) * (1 Point) O7 (O) none of the choices O 9 23. a =int(input(First numbert:”)) b = int(input(Second numbert:&q… Show more… Show moreImage transcription text25. hb1 = [‘Programming in (#’,’Oxford UniversityPress’, 2014] hb2 = [‘Algorithms’, ‘OxfordUniversity Press’, 2015] if hb1[1]= … Show more… Show morePlease answer these.. Thank you! Computer Science Engineering & Technology Python Programming Share QuestionEmailCopy link Comments (0)