Sample Filled G-28 Form - My first choice is #2, but i don't consider it idiomatic. Sample Filled G-28 Form - Length = np.random.uniform(0, 1) angle = np.pi * np.random.uniform(0, 2).