April to June and September to October: temperatures are pleasant (20–28°C), rain is infrequent, and the city is neither packed nor empty.
April–May and September–October: hotel rates often drop by 20–30% from peak, and the weather is still good for exploring the Casb…
Go in April, May, or October for the best mix of good weather, low crowds, and reasonable prices.