in the future - u will be able to do some more stuff here,,,!! like pat catgirl- i mean um yeah... for now u can only see others's posts :c
What is the output of this code:
txt = "python programming"
print(txt[txt.index("python"):txt.index("programming")])
Explain your answer in the comments!
7 - 0
What is the output of this code:
lst1 = [1, 2, 3, 4, 5]
lst2 = [i**2 for i in lst1 if i % 2 == 0]
print(lst2)
Explain your answer in the comments!
6 - 2
What is the output of this code:
word = 'Python'
print(word[::-1][-1:-6:-2])
Why you chose your answer, explain it in the comments to get a feedback!
4 - 2
What is the output of this code:
words = ["Artificial", "Intelligence"]
output = "".join([w[0].upper() for w in words])
print(output)
Why you chose your answer, explain it in the comments to get a feedback!
2 - 2
Python Question of the day!
What's the output of this code?
lst = [1,2,3,4,5]
print(lst[3:] + lst[:3][::-1])
Why you chose your answer, explain it in the comments to get a feedback!
2 - 2
What will the output of the following Python code?
lst = [1, 2, 3, 4, 5, 2, 3, 4, 5]
print(len(set(lst)))
Comment down below your explanation before answering 👇
Subscribe for daily python Quiz and videos!
3 - 0
Hi there, welcome to Python Scholar, your new home for Python learning! I'm a seasoned machine learning engineer, and I'm here to make Python programming approachable for everyone.
On this channel, I see coding as an art, and I can't wait to share the beauty of Python with you. I cover everything from the basics, such as data structures and algorithms, to advanced concepts like web development, data science, and machine learning. Plus, I upload a new video every day to help you stay current!
But it's not all about me talking. I host live sessions where we can interact, answer your questions, and even review your code together.
Whether you're taking your first steps in coding or you're an experienced developer, Python Scholar is here to boost your skills. Always remember: the best coders never stop learning. So hit that subscribe button and join our Python journey. Let's learn and grow together!