x = [[0] * 3] * 3
x[0][0] = 1
print(x)
A) [[1, 0, 0], [0, 0, 0], [0, 0, 0]]
B) [[1, 0, 0], [1, 0, 0], [1, 0, 0]]
C) [[1, 1, 1], [0, 0, 0], [0, 0, 0]]
D) Error
#PythonQuiz #WomenInTech #PyCommune #AI #Python #DataScience
x = [[0] * 3] * 3
x[0][0] = 1
print(x)
A) [[1, 0, 0], [0, 0, 0], [0, 0, 0]]
B) [[1, 0, 0], [1, 0, 0], [1, 0, 0]]
C) [[1, 1, 1], [0, 0, 0], [0, 0, 0]]
D) Error
#PythonQuiz #WomenInTech #PyCommune #AI #Python #DataScience
Share your projects, learn from others, and grow in an inspiring community.
🔗 pycommune.com.ng
Your Python journey starts here! 🐍
#Python #CodingCommunity #Developers
Share your projects, learn from others, and grow in an inspiring community.
🔗 pycommune.com.ng
Your Python journey starts here! 🐍
#Python #CodingCommunity #Developers
What will this code output?
x = [1, 2, 3]
y = x
y.append(4)
print(x)
A) [1, 2, 3]
B) [1, 2, 3, 4]
C) Error
Reply with your answer and why!
#PythonQuiz #LearnPython #100DaysOfCode #pycommune
What will this code output?
x = [1, 2, 3]
y = x
y.append(4)
print(x)
A) [1, 2, 3]
B) [1, 2, 3, 4]
C) Error
Reply with your answer and why!
#PythonQuiz #LearnPython #100DaysOfCode #pycommune
x = [[0] * 3] * 3
x[0][0] = 1
print(x)
A) [[1, 0, 0], [0, 0, 0], [0, 0, 0]]
B) [[1, 0, 0], [1, 0, 0], [1, 0, 0]]
C) [[1, 1, 1], [0, 0, 0], [0, 0, 0]]
D) Error
#PythonQuiz #WomenInTech #PyCommune #pythonprogramming #tech
x = [[0] * 3] * 3
x[0][0] = 1
print(x)
A) [[1, 0, 0], [0, 0, 0], [0, 0, 0]]
B) [[1, 0, 0], [1, 0, 0], [1, 0, 0]]
C) [[1, 1, 1], [0, 0, 0], [0, 0, 0]]
D) Error
#PythonQuiz #WomenInTech #PyCommune #pythonprogramming #tech
👉 Explore PyCommune today!
From beginner to pro, there’s something for everyone.
🔗 pycommune.com.ng
Let’s code better, together.
#LearnPython #DevCommunity #CodeBetter
👉 Explore PyCommune today!
From beginner to pro, there’s something for everyone.
🔗 pycommune.com.ng
Let’s code better, together.
#LearnPython #DevCommunity #CodeBetter
Another new platform is pycommune
Another new platform is pycommune
Build a Text Analyzer that generates insights like:
✅ Word counts
✅ Unique words
✅ Word frequency analysis
🧠 Add your unique spin—think visualizations!
Join now: [https://pycommune.com.ng/code-executor/challenge/1/]
#Python #PyCommune #WomenInTech #CodingChallenge
Build a Text Analyzer that generates insights like:
✅ Word counts
✅ Unique words
✅ Word frequency analysis
🧠 Add your unique spin—think visualizations!
Join now: [https://pycommune.com.ng/code-executor/challenge/1/]
#Python #PyCommune #WomenInTech #CodingChallenge