
Saqib H. answered 03/02/20
Senior Software Engineer specialized in Python and Java
The way to do it is using function over loading and it will works. You can call the defined function using either just the string argument or both string and integer arguments. Inside the function with only string argument you can set the value of running time in minutes as 90 by default.