Subject need not be repeated
Incorrect : I went to market and I bought fruit.
Correct : I went to market and bought fruit.
Note: In a compound sentence, the unnecessary repetition of the same subject should be avoided.
Most Popular Course:Data Science of Harvard, MIT, IBM....