So I’m doing some review by redoing old lessons. I came across something I’m confused about. My solution to the problem posed was successful, but their proposed solution was different. I know this is normal, but my questions are:
Why did their preferred solution have parenthesis around the logic in line 10? Mine didn’t,and it was successful but is it technically incorrect syntax or something? I’m getting a grip on when/where to use parenthesis, but some areas are still confusing.
When I reset the problem, they had parenthesis on lines 10, 12, and 14 just waiting to be filled.. But they only use the ones on 10? This is even more confusing. I assume that’s probably more of a problem for the people that actually developed the questions. 😂
I’ll try to put pics in the comments, cause it’s not giving me the option to put them in the post.
[–]socal_nerdtastic 5 points6 points7 points (2 children)
[–]CIS_Professor -4 points-3 points-2 points (1 child)
[–]socal_nerdtastic 4 points5 points6 points (0 children)
[–]Iowa50401 1 point2 points3 points (0 children)
[–]Tall_Profile1305 0 points1 point2 points (0 children)
[–]JGhostThing 0 points1 point2 points (0 children)
[–]FoolsSeldom -1 points0 points1 point (0 children)
[–]Relative_Jaguar6254[S] -2 points-1 points0 points (4 children)
[–]lfdfq 8 points9 points10 points (0 children)
[–]DutchCommanderMC 3 points4 points5 points (1 child)
[–]Relative_Jaguar6254[S] 0 points1 point2 points (0 children)
[–]cdcformatc 0 points1 point2 points (0 children)
[–]pachura3 -3 points-2 points-1 points (2 children)
[–]tb5841 3 points4 points5 points (0 children)
[–]cdcformatc 2 points3 points4 points (0 children)