uz
Feedback

Firibgarlarga uchmang! Telemetrio bunday kanallarni topadi va belgilaydi πŸ‘‰ Belgini koβ€˜rmoqchi boβ€˜lsangiz, obuna boβ€˜ling

Coding Quiz Zone

Coding Quiz Zone

Kanalga Telegram’da oβ€˜tish

✨ Part Of @OfficialCodingExpert Dive into the world of computer science, programming, and coding challenges. Sharpen your skills, expand your knowledge, and embark on a journey of continuous learning. Stay tuned for daily quizzes!

Ko'proq ko'rsatish
1 552
Obunachilar
-424 soatlar
+17 kun
-130 kun
Postlar arxiv
What will be the output of the following Python code? print("abcdef".center(7, 1))x
Anonymous voting

What will be the output of the following Python code? print('*', "abcdef".center(7), '*')
Anonymous voting

What will be the output of the following Python code? print("abcdef".center(0))
Anonymous voting

What will be the output of the following Python code? print("abcdef".center())
Anonymous voting

What will be the output of the following Python code? print("abc. DEF".capitalize())
Anonymous voting

What will be the output of the following Python code? print("abc DEF".capitalize())
Anonymous voting

Suppose x is 345.3546, what is format(x, β€œ10.3f”) (_ indicates space).
Anonymous voting

What function do you use to read a string?
Anonymous voting

What will be the output of the following Python code?
Anonymous voting

class Name:
    def __init__(self, firstName, mi, lastName):
        self.firstName = firstName
        self.mi = mi
        self.lastName = lastName
 
firstName = "John"
name = Name(firstName, 'F', "Smith")
firstName = "Peter"
name.lastName = "Pan"
print(name.firstName, name.lastName)

What will be the output of the following Python code?
Anonymous voting

class Count:
    def __init__(self, count = 0):
       self.__count = count
 
c1 = Count(2)
c2 = Count(2)
print(id(c1) == id(c2), end = " ")
 
s1 = "Good"
s2 = "Good"
print(id(s1) == id(s2))

Suppose i is 5 and j is 4, i + j is same as ________
Anonymous voting

To check whether string s1 contains another string s2, use ________
Anonymous voting

If a class defines the __str__(self) method, for an object obj for the class, you can use which command to invoke the __str__ method.
Anonymous voting

To return the length of string s what command do we execute?
Anonymous voting

To retrieve the character at index 3 from string s=”Hello” what command do we execute (multiple answers allowed)?
Anonymous voting

What is β€œHello”.replace(β€œl”, β€œe”)?
Anonymous voting

Say s=”hello” what will be the return value of type(s)?
Anonymous voting

Which of the following element is used to create any shape that consists of only straight lines?
Anonymous voting

Coding Quiz Zone - Telegram kanali @codingquizzone statistikasi va tahlili