Vishnu-M-E / Hacktoberfest-2024

0 stars 0 forks source link

Issue 1 #1

Open Vishnu-M-E opened 4 hours ago

Vishnu-M-E commented 4 hours ago

Find what's wrong with the code in Day1/issue1.c. (Hint: Something wrong with the logic maybe?)

sumanth-0 commented 3 hours ago

It looks like you're trying to compute the sum of even and odd numbers, but there are a few issues with the logic that need correcting. The dictionary comprehensions you have created are adding 2 to each key in the range, but the sums you're trying to compute seem to aim at adding the actual values from the sequences of even and odd numbers. Assign me this issue and i will write the corrected code