In reply to nocsmsourabh:
When you say you are getting an error or it doesn’t work, you need to explain the error you saw, and show what you expect if it did work. If you construct t before calling randomize(), it should “work”.
In reply to nocsmsourabh:
When you say you are getting an error or it doesn’t work, you need to explain the error you saw, and show what you expect if it did work. If you construct t before calling randomize(), it should “work”.