fa
Feedback

فریب کلاهبرداران را نخورید! تل‌متریو این کانال‌ها را شناسایی و برچسب‌گذاری می‌کند 👉 برای مشاهده برچسب، اشتراک تهیه کنید

Coding Quiz Zone

Coding Quiz Zone

رفتن به کانال در Telegram

✨ 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!

نمایش بیشتر
1 552
مشترکین
-424 ساعت
+17 روز
-130 روز
آرشیو پست ها
Given a string example=”hello” what is the output of example.count(‘l’)?
Anonymous voting

What will be the output of the following Python code? >>>max("what are you")
Anonymous voting

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

>>>example = "snow world"
>>>example[3] = 's'
>>>print example

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

>>>example = "snow world"
>>>print("%s" % example[4:7])

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

class tester:
    def __init__(self, id):
        self.id = str(id)
        id="224"
 
>>>temp = tester(12)
>>>print(temp.id)

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

class father:
    def __init__(self, param):
        self.o1 = param
 
class child(father):
    def __init__(self, param):
        self.o2 = param
 
>>>obj = child(22)
>>>print "%d %d" % (obj.o1, obj.o2)

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

string = "my name is x"
for i in ' '.join(string.split()):
    print (i, end=", ")

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

a = [0, 1, 2, 3]
i = -2
for i not in a:
    print(i)
    i += 1

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

a = [0, 1, 2, 3]
for a[0] in a:
    print(a[0])

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

a = [0, 1, 2, 3]
for a[-1] in a:
    print(a[-1])

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

string = "my name is x"
for i in string.split():
    print (i, end=", ")