Hi, my concern here is how i can print the time like i expected to happen. I tried everything and i know the syntax is wrong but can anyone show me the right way to print time?Maybe in one line? I am not able to figure it out.
@monorienaghogho thank you, it worked. I haven’t come across this syntax till now. Can you explain it or tell me that in when i will face it? I am currently on step 1 mission 6.
Using + we can concatenate two strings. But here minute and hour is numeric type so we will have to convert it to string type first to concatenate. We can convert numeric to string type using in-built str function.
thanks @DishinGoyani. I tried this at first before you suggested but I might have done something wrong. But this thought surely crossed my mind. Thank you for the right syntax.