I am someone new to chinese, I am in chinese 3 honors. We are learning about traveling and had some questions about the use of 玩儿 in these sentences and why they are here!
今年夏天我们在西安玩儿了三天，在北京玩儿了一个星期 - This summer we spent three days in Xi'an and one week in Beijing
他们在北京一共玩儿了七天。- They spent a total of seven days in Beijing.
如果你想去中国玩儿，你就要办签证 - You need a visa if you want to go to China
Can someone break down the sentence structure to these sentences :)