gh-118131: Command-line interface for the `random` module by hugovk · Pull Request #118132 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Merged
Conversation
Personally, I don't support this proposal but won't stand in the way of it either. It seems gratuitous.
| return randint(1, args.integer) | ||
|
|
||
| if args.float is not None: | ||
| return uniform(1, args.float) |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters