✔ 最佳答案
Yes! You are right! Both ways are actually correct to express the idea.
The only difference, though, is level of wordiness. (or you may say their lengths)
The first sentence is actually shorter than the second, so it is more readable to read. (It saves time as well.)
The second is also fine though. When we write essays or other homework, we shall try to use different sentence structures. Otherwise, if we also use first sentence's style, then it will become very dull and it may lower people's interest to continue to read your work.