Convert a number to hours and minutes
Write a Python function to convert a given number in minutes to hours and minutes.
Sample Code:
def convertTime(num):
# Enter your logic here...
Examples:
Input: 235
Output: '3:55'
Explanation: 235 is equal to 3 hours and 55 minutes.
Input: 1060
Output: '17:40'
Explanation: 1060 is equal to 17 hours and 40 minutes.