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 553
订阅者
+324 小时
+57 天
+330 天
帖子存档
1 553
Suppose listExample is [‘h’,’e’,’l’,’l’,’o’], what is len(listExample)?
1 553
What will be the output of the following Python code snippet?
print('+99'.zfill(5))
1 553
xplanation: The function translate expects a dictionary of integers. Use maketrans() instead of doing the above.
9. What will be the output of the following Python code snippet?
print('ab'.zfill(5))
1 553
What will be the output of the following Python code snippet?
print('abcd'.translate({'a': '1', 'b': '2', 'c': '3', 'd': '4'}))
1 553
What will be the output of the following Python code snippet?
print('abcd'.translate({97: 98, 98: 99, 99: 100}))
1 553
What will be the output of the following Python code snippet?
print('abcd'.translate('a'.maketrans('abc', 'bcd')))
1 553
What will be the output of the following Python code?
print('*', "abcdef".center(7), '*')
1 553
What will be the output of the following Python code?
print("abcdef".center(0))
1 553
What will be the output of the following Python code?
print("abc. DEF".capitalize())
1 553
What will be the output of the following Python code?
print("abc DEF".capitalize())
1 553
Suppose x is 345.3546, what is format(x, “10.3f”) (_ indicates space).
1 553
To check whether string s1 contains another string s2, use ________
1 553
How does the client and the server communicate following the rules defined by the WebSocket protocol?
1 553
What does the following JavaScript code snippet do?
var httpserver = new http.Server();
