This commit updates example code to make the spacing more consistent. PR Close #41093
PR Close #40811