DEV Community

Cover image for 🚀 “Can You Solve This? World Cup Score Analyzer (Beginner Friendly)”
Tahami AK SERVICES
Tahami AK SERVICES

Posted on

🚀 “Can You Solve This? World Cup Score Analyzer (Beginner Friendly)”

Hey developers 👨‍💻,

Let’s connect coding with football ⚽

🧠 Problem:

Write a Python function that:

Takes goals scored by Team A...Read More
Prints:
“Team A Wins”
“Team B Wins”
“Draw Match”
🧾 Example:
Input: A = 2, B = 1

Output: Team A Wins
🔥 Challenge Level:

Beginner (No loops required)

💡 Bonus:

Add a feature:

If goals > 5 → print “High Scoring..Read More!”

👉 Drop your solution in the comments!

Top comments (1)

Collapse
 
tahami_akservices_cb075e profile image
Tahami AK SERVICES

**“Who’s solving this without checking Google? 😄⚽
Keep it simple this is all about logic, not syntax.

Also curious 👇
Did anyone complete the bonus challenge?”**