ch
Feedback

不要被骗子欺骗!Telemetrio 会找到并标记这些频道 👉 如果想查看标记,请订阅

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 550
订阅者
-424 小时
+17 天
-130 天
帖子存档
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? >>>example = "snow world" >>>print("%s" % example[4:7])
Anonymous voting

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? print("xyyzxyzxzxyy".endswith("xyy", 0, 2))
Anonymous voting

What will be the output of the following Python code? print("xyyzxyzxzxyy".endswith("xyy"))
Anonymous voting

What is the default value of encoding in encode()?
Anonymous voting

What will be the output of the following Python code? print('abc'.encode())
Anonymous voting

What will be the output of the following Python code? print("xyyzxyzxzxyy".count('xyy', -10, -1))
Anonymous voting

What will be the output of the following Python code? print("xyyzxyzxzxyy".count('xyy', 2, 11))
Anonymous voting

What will be the output of the following Python code? print("xyyzxyzxzxyy".count('xyy', 0, 100))
Anonymous voting

What will be the output of the following Python code? print("xyyzxyzxzxyy".count('yy', 2))
Anonymous voting

What will be the output of the following Python code? print("xyyzxyzxzxyy".count('yy', 1))
Anonymous voting

What will be the output of the following Python code? print("xyyzxyzxzxyy".count('yy'))
Anonymous voting

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

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