I've been reading Python stuff quite a bit, getting to grips with a Python 3 and Design Patterns book. I'm not so certain about the book, though. Time will tell. However, over the weekend I designed and wrote a Python program to create a quick reference table for the Mongoose Traveller 2nd edition Traveller game. It all boiled down to one key function:
def distance_km_and_thrust_to_seconds(distance_km,thrust):
distance_meters = distance_km * 1000;
result = 2 * math.sqrt(distance_meters/(thrust*10))
return result
Hi, I'm a person living in the North East of England who has schizophrenia. I have been in and out of hospital between 2001-2004. This blog will be notes about my experiences as a patient (aka client) both in hospital and in the community. I can be contacted via email to ian DOT bruntlett AT gmail.com (delete the "DOT", "AT" and spaces from that email address). What is schizopanic? Its the panic that flashes through someone's eyes when you tell them you've got schizophrenia.
Tuesday, May 31, 2022
Python 3
Subscribe to:
Posts (Atom)