Home

Designed for school students & undergraduate entrance aspirants preparing for board exams, NEET, JEE and more.

JEE (Mains & Adv)NEET (UG)CBSE BoardISC BoardUP BoardCUET

Built for graduates & professionals targeting competitive exams — UPSC, CAT, GMAT, GRE, IELTS, banking & more.

GREGMATCATUPSCIBPSIELTSTOEFLSATACT

Core school & undergraduate subjects aligned with CBSE, ISC, UP Board, NEET and JEE syllabi.

PracticeMock TestsResources

Random Computer Science - Computational Thinking And Programming 2 Practice

20 randomly selected questions from Computational Thinking And Programming 2 topics

Progress: 0%
Success Rate: 0%
Question 1
computational-thinking-and-programming-2 > revision-of-python-topics

Ravi, a Python programmer, is working on a project in which he wants to write a function to count the number of even and odd values in the list. He has written the following code but his code is having errors. Rewrite the correct code and underline the corrections made.

define EOCOUNT (L): even_no=odd_no=0 for i in range(0,len(L)) if L[i] % 2=0: even_no+=1 Else: odd_no+=1 print(even_no, odd_no)

0 of 20 answered

Random Practice Session

Questions Answered0 / 20
Correct Answers0
Session Success Rate0%
Random Practice Ready! 🎯

Community Stats

Active Learners30
Questions Attempted597
Community Success Rate70%

Track Your Random Practice

Sign up to save your random practice progress and compare your performance across different categorys.

We Value Your Privacy

Edvaya uses cookies to enhance your learning experience, analyze platform usage, and provide personalized content. You can customize your preferences or accept all cookies to continue.

By continuing, you agree to our Cookie Policy and Privacy Policy