-
CSS Quizs Question & Answers – Styling Texts
Q 1. Which of the following property converts text to initial capitals, all uppercase, or all lowercase?A. textB. text-transformC. text-decorationD. text-uppercase Show Answer Answer:-B. text-transform Q 2. Which of the… Read more
-
Python Quizs Question– String II
Q 1. What will be the output of the following Python code snippet? print(‘Ab!2’.swapcase()) A. AB!@B. ab12C. aB1@ D. aB!2 Show Answer Answer:-D. aB!2 Explanation Lowercase letters are converted to… Read more
-
Python Multiple Choice Quizs Question– String
Q 1. The output of executing string.ascii_letters can also be achieved by:A. string.ascii_lowercase_string.digitsB. string.lowercase_string.uppercaseC. string.lettersD. string.ascii_lowercase+string.ascii_uppercase Show Answer Answer:-D. string.ascii_lowercase+string.ascii_uppercase Explanation Execute in shell and check. Q 2 . What… Read more
-
Python Quizs Question and Answers – While and For Loops – 2
Q 1. What will be the output of the following Python code? x = “abcdef” while i in x: print(i, end=” “) A. a b c d e fB. abcdefC.… Read more
-
Python Multiple Choice Quizs Question – While and For Loops 1
Q 1. What will be the output of the following Python code? i = 1 while True: if i%3 == 0: break print(i) i + = 1 A. 1… Read more
-
Python Quizs Question and Answers – Formatting – 2
Q 1. The output of which of the codes shown below will be: “There are 4 blue birds.”?A. ‘There are %g %d birds.’ %4 %blueB. ‘There are %d %s birds.’… Read more
-
Current Affairs Quizs Question – October, 2023
Q1.Which institution approved capital- management reforms that will unlock $100 billion in funds over the next 10 years? A. World BankB. AIIBC. ADBD. IMF Show Answer Answer:-C. ADB Explanation The… Read more
-
Python Quizs Question and Answers – Formatting – 1
Q 1. What will be the output of the following Python expression if x=456? print(“%-06d”%x) A. 000456B. 456000C. 456D. error Show Answer Answer:-C. 456 Explanation The expression shown above results… Read more
-
Python Quizs Question and Answers – Advanced Formatting Tools
Q 1. The formatting method {1:<10} represents the ___________ positional argument, _________ justified in a 10 character wide field.A. first, rightB. second, leftC. first, leftD. second, right Show Answer Answer:-B.… Read more
-
Python Programming Question and Answers – Decorators
Q 1. In the following Python code, which function is the decorator? def mk(x): def mk1(): print(“Decorated”) x() return mk1 def mk2(): print(“Ordinary”) p = mk(mk2) p() A. p()B. mk()C.… Read more
Welcome to my blog!
I’m Amy, a minimalist and simple living enthusiast who has dedicated her life to living with less and finding joy in the simple things. Through this blog, I aim to share my expertise, insights, and experiences. Join me on this journey as we explore the world of slow, purposeful living together!
Find us on:
Join the fun!
Stay updated with our latest recipes and other news by joining our newsletter.
