BOGOTÁ, Colombia — So many men. Men at the bakery, men on bikes, men in parks, men in the grocery aisles.

“It’s weird,” said Adriana Pérez, a nurse in scrubs waiting at the bank, the only woman in sight. “But it’s working.”

Bogotá, Colombia’s capital and largest city, joined Panama this week in instituting a gender-based virus-prevention measure designed to limit the number of people in the streets. On odd-numbered days, men can leave the house to seek out essentials. On even-numbered days, it’s the women’s turn.

The measure comes as cities across Latin America are struggling to keep people off the streets, despite quarantine orders that have been in place for weeks in most countries.