Random number between 50k and 120k

Course Name: Python for Trading: Basic, Section No: 8, Unit No: 8, Unit type: Notebook

Question no13:

Need to find Random number between 50k and 120k. But why negative values are also picked by the code in output 14? 

 

Hi Jeyaraman,



There was a mismatch in the comment of the code. The code has been changed to reflect the intent of the comment.