Answer: Yes both gases would have the same entropy.
Explanation:
The formula for the change in the entropy is as follows,

Here, \Delta S is the change in the entropy, Q is the heat transfer and T is the temperature.
If the temperature of the system increases then there will be increase in the entropy as the randomness of the system increases.
In the given problem, if the both gases were initially at the same absolute temperature. Then there will be same entropy change in both gases.
Therefore, yes both gases would have the same entropy.