Skip to main content
Asked a question 9 days ago

🏅 Weekly Code Battle - Week 42

This question has a reward worth 25 LetsUpgrade Coins from LetsUpgrade and is in decision making phase!

Reward rules

Battle Format

  • Every week 1 question will be posted on Monday.
  • Answers to be submitted by Google Forms only. Write “I have submitted the solution” in the Answer below Question. Anonymous answers will not be considered
  • First 30 entries per question will be considered for evaluation. 
  • Entries are accepted till Thursday only.
  • After that the team will assess your submission.
  • The winner will be declared on Monday before the next Battle on Community and Telegram Channel.
  • The best answer per question will be rewarded with 25 LetsUpgrade Coins and the title of that character. After all the main characters for Hera Pheri are given, there will be a Final Battle amongst the Title Holders who will compete for the Title of “Raju”.

Rules for Weekly Code Battle

  • One Question. One Answer : Each student should send only one entry per question. If you send multiple answers, you will not be considered eligible for rewards.
  • Submit Answer via Form only : Do not post answers in comments. You have to submit your answers via the given form only.
  • Duration : Each question will be available for 4 days for students to answer.
  • Answer : One line answers will not be counted. Your answers should consist of 2 sections:-
    • Explain the logic implemented.
    • And then your solution. 
  • Code should be properly indented where required.
  • After submitting the Google Form, mention “I have submitted the solution” in the   “Answer section” below the Question.
  • Rewards  : Each question will have certain LetsUpgrade coins as a reward. These coins can be redeemed to apply for upcoming LetsUpgrade Events, Courses, Mentorship.
  • If you have any other queries related to the Quiz Format or Rules, mention in the comment section below. Do not ask Questions in the Answer section.


You are Shyam from Hera Pheri. You are searching for a job at a bank. You were unable to get the job in spite of your late father who worked there bumps into a guy named Raju. Shyam mistakes Raju for a pickpocket and begins to chase him. However, he discovers the truth and vice versa occurs with Raju chasing Shyam mistaking him for a pickpocket.. You were facing such trouble in a new place in search of a job plus you needed a backup job but you weren’t able to get what people were speaking as it was english. Thus being Shyam Write a Python/Javascript code to translate language where there will be a list of languages(min 10) that can be translated.

Upload your solution file at :

Fuel your ambition, discover your passion and achieve your professional goals with LetsUpgrade.
Sign Up Now