Set1 Python MCQ Questions || python mcq, python mcq questions in hindi Get link Facebook X Pinterest Email Other Apps Result : 0/0 | | Left : 10 Find the output of the following python code- Q1: print(12.6 // 2) A. 6.2 B. 6 C. 6.20 D. 6.0 Q2: print(100 / 25) A. 4 B. 4.0 C. 0 D. 0.0 Q3: print(12 % 5) A. 2 B. 2.0 C. 0 D. 2.4 Q4: print(12 % -5) A. 2 B. -2 C. -3 D. 3 Q5: print(2 ** 3 ** 2) A. 12 B. 64 C. 512 D. 81 Q6: print('a' + 2) A. 'a2' B. '2a' C. 'aa' D. TypeError Q7: print('hello' + 'dear') A. 'hellodear' B. 'hello+dear' C. 'hello dear' D. TypeError Q8: print('a' * 2) A. 'aa' B. 'a2' C. 'a*2' D. TypeError Q9: print('2' + 2) A. '22' B. '4' C. '2+2' D. TypeError Q10: print('12' + '12') A. '1212' B. '24' C. '12+12' D. TypeError ---END--- Comments AnonymousApril 9, 2023 at 9:17 AMbruh, i got all the questions wrong lmaoReplyDeleteRepliesReplyAdd commentLoad more... Post a Comment
bruh, i got all the questions wrong lmao
ReplyDelete