I am having trouble adding an 'if or' condition to my python script:
the script expects an input that should be
input = ABC_Blue
input = ABC_Green.
I need the script to evaluate to true only if the input is a string that ends with '_Blue' or '_Green'.
Max = $30
31 freelanceria on tarjonnut keskimäärin 19$ tähän työhön
A logical if statement using the endswith() function of a string should work. If [login to view URL]("ABC_Blue") Or [login to view URL]("ABC_Green") # do this
I am an expert in Python programming and done a lot be of machine learning and AI project s on python. I believe in customer satisfaction and long term business relation so please hire me and I will not let you down.