0
Can someone help me with practice lesson 4.2?
It's asking me to change the code to output items with even numbers but I'm not sure how to go about it.
1 Answer
+ 3
Try writing down the steps needed in English(or your mother tongue) and then convert those steps into a line of code. The lessons that preceeding the practice generally teach what you need to know to complete the task.
4 % 2 == 0 means 4 is an even number.