Hi all, on a scale of 1 to 100, 100 being a Python expert, I am a 1.
I inherited a bunch of Python scripts and now I have to change one.
This is the current code. It checks the length of the PropID and if it is 10, then it is a good ID.
Python:
if len(str(self.propid)) == 10:
self.is_valid_sungard_id = True
else:
self.is_valid_sungard_id = False
Can anyone help?
Code:
if Left 1 is numeric and the length is 10 then it is a good PropID
Thanks in advance!