Prutor Python Quiz 3 by anupmaurya June 13, 2021 written by anupmaurya June 13, 2021 230 Welcome to your Prutor Python Quiz 3 If A=set(‘python’)B=set(‘programming’)Then what will be the output of print(A-B) ?Note :- The Order of output may change. a) {'m', 'r', 'i'} b) {'m', 'r', 'g', 'a', 'i'} c) {'h', 'y', 't'} d) {'y', 'h', 't', 'a'} What will be the outcome of the following code? count=40print(count>=30 and count<39) a) True b) False c) Error d) None of the Above If we have a list as : names=[‘abhay’, ‘mahesh’, ‘prashant’, ‘sandeep’]then what does the following statement do: ‘rakesh’ in names a) checks if ‘rakesh’ is there in names b) deletes ‘rakesh’ from names c) add ‘raksesh’ to names d) append names with ‘rakesh’ What will be the output of the following code? print( (3 < 1) and (4/0 > 1)) a) Flase b) True c) Run-time error d) None of these In Python ‘And’ and ‘Or’ operators are also called: a) Short circuit operators b) Logical operators c) Both A and B d) None of the above Time's up 0 comment 0 FacebookTwitterPinterestEmail anupmaurya Hey there, My name is Anup Maurya. I was born with love with programming and worked with TCS. One of best global (IT) services and consulting company as System Administrator . I also love graphics designing. It's my pleasure to have you here. previous post Pructor Python Quiz 7 next post Prutor Python Quiz 2 Leave a Comment Cancel Reply Save my name, email, and website in this browser for the next time I comment.