Last active
August 29, 2015 14:22
-
-
Save AstraLuma/928f32d3799ccc9eb6c7 to your computer and use it in GitHub Desktop.
Antimony: Parameters
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
| # ANEX-SPEC: 1 | |
| # ANEX-ID: astronouth7303@gmail.com/parameters | |
| # ANEX-VERSION: 1.0 | |
| # ANEX-AUTHOR: Jamie Bliss <astronouth7303@gmail.com> | |
| # ANEX-CATEGORY: Utility | |
| # ANEX-TAGS: parameters, constants, numbers | |
| # ANEX-DESC: A simple parameters node, from a to z | |
| """ | |
| Simple parameters, from `a` to `z`. | |
| Give it `num` the number of parameters you want, and it will give you floats lettered | |
| from `a` to `z`. | |
| """ | |
| from string import ascii_lowercase | |
| title('Params') | |
| input('num', int) | |
| for n in range(num): | |
| input(ascii_lowercase[n], float) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment