The best time for you to visit Mangalore is from October to March if the weather is enjoyable and perfect for outdoor pursuits.
It is surrounded by hills which makes it an ideal place for trekking in Kudremukh. https://mangaloreblogs.com/places-of-interest-in-mangalore/