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 more5 787
Subscribers
-324 hours
-327 days
-5530 days
Posts Archive
5 787
What will be the output of the following Python code?
print("abcdef".find("cd") == "cd" in "abcdef")
5 787
What will be the output of the following Python code?
print("ab\tcd\tef".expandtabs('+'))
5 787
What will be the output of the following Python code?
print("ab\tcd\tef".expandtabs(4))
5 787
What will be the output of the following Python code?
print("ab\tcd\tef".expandtabs())
5 787
What will be the output of the following Python code?
print("xyyzxyzxzxyy".endswith("xyy", 0, 2))
5 787
What will be the output of the following Python code?
print("xyyzxyzxzxyy".endswith("xyy"))
5 787
What will be the output of the following Python code?
print('abc'.encode())
5 787
What will be the output of the following Python code?
print("xyyzxyzxzxyy".count('xyy', -10, -1))
5 787
What will be the output of the following Python code?
print("xyyzxyzxzxyy".count('xyy', 2, 11))
5 787
What will be the output of the following Python code?
print("xyyzxyzxzxyy".count('xyy', 0, 100))
5 787
What will be the output of the following Python code?
print("xyyzxyzxzxyy".count('yy', 2))
5 787
What will be the output of the following Python code?
print("xyyzxyzxzxyy".count('yy', 1))
5 787
What will be the output of the following Python code?
print("xyyzxyzxzxyy".count('yy'))
5 787
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!
5 787
What will be the output of the following Python code?
print("abcdef".center(10, '12'))
5 787
What will be the output of the following Python code?
print("abcdef".center(7, '1'))
5 787
What will be the output of the following Python code?
print("abcdef".center(7, 1))
5 787
What will be the output of the following Python code?
print('*', "abcdef".center(7), '*', sep='')
5 787
What will be the output of the following Python code?
print('*', "abcdef".center(7), '*')
