ch
Feedback
Python Learning

Python Learning

前往频道在 Telegram

Python learning resources Beginner to advanced Python guides, cheatsheets, books and projects. For data science, backend and automation. Join 👉 https://rebrand.ly/bigdatachannels DMCA: @disclosure_bds Contact: @mldatascientist

显示更多
5 849
订阅者
无数据24 小时
+57
无数据30
帖子存档
What will be the output of the following Python code? print("ccdcddcd".find("c"))
Anonymous voting

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

What will be the output of the following Python code? print("abcdef".find("cd") == "cd" in "abcdef")
Anonymous voting

What will be the output of the following Python code? print("ab\tcd\tef".expandtabs('+'))
Anonymous voting

What will be the output of the following Python code? print("ab\tcd\tef".expandtabs(4))
Anonymous voting

What will be the output of the following Python code? print("ab\tcd\tef".expandtabs())
Anonymous voting

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

Enjoy our content? Advertise on this channel and reach a highly engaged audience! 👉🏻 It's easy with Telega.io. As the leadi
Enjoy our content? Advertise on this channel and reach a highly engaged audience! 👉🏻 It's easy with Telega.io. As the leading platform for native ads and integrations on Telegram, it provides user-friendly and efficient tools for quick and automated ad launches. ⚡️ Place your ad here in three simple steps: 1 Sign up 2 Top up the balance in a convenient way 3 Create your advertising post If your ad aligns with our content, we’ll gladly publish it. Start your promotion journey now!

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

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