HCL GUVI
26.7K subscribers
915 photos
145 videos
1 file
904 links
GUVI (Grab Your Vernacular Imprint) | An HCL Group Company | Learn AI, Data Science, Full Stack, AI/ML & UI/UX in 19+ Languages | 3M+ Learners | 1000+ Hiring Companies | Daily Job Updates & Free Tips!!

Career Consultation: https://bit.ly/4j2Lt21
Download Telegram
Debug This Code — Day 1

Sharpen your problem-solving skills, one bug at a time!
Every post in this series drops a short, buggy code snippet. Your job: spot the bug, explain what's wrong, and fix it. Drop your answer in the comments before we reveal the solution tomorrow!

Today's snippet (Python):

def get_average(numbers):
total = 0
for n in numbers:
total += n
return total / len(numbers)

print(get_average([]))

What breaks here, and why?

💡 Comment your fix below
🔁 Share with a friend who loves a good debugging challenge
Solution + explanation drops tomorrow

#DebugThisCode #CodingChallenge #LearnToCode #Python #edtech #HCLGUVI
1🥰1👏1