en
Feedback
Python Learning

Python Learning

Open in 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

Show more
5 787
Subscribers
-324 hours
-327 days
-5530 days
Posts Archive
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

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

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