Array Question
Hi All,
I am trying to create a program whereby an element is selected from an array and then a new array (minus the selected object is then created). E.g. Speed = [30,40,50,60] target_speed = random.choice(Speed) Speed = Speed-target_speed Obviously the last line is incorrect - can anyone suggest how this can be done? Thanks |
Solved the issue - for anyone who wants to know for the future...
Code:
No_probe_vehicle = 20 # number of trials |
All times are GMT -7. The time now is 10:19 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC