Oct-03-2019, 02:23 PM
(Oct-03-2019, 09:38 AM)christing Wrote: Thank you for reply my message i already find out the answer form buran.
foo = '11111111111000000000000000000000'
for char in foo:
if char == '1':
print('ok')
else:
print('ng')
You're welcome!
I'm glad that somebody could help you!
All the best,
newbieAuggie2019
"That's been one of my mantras - focus and simplicity. Simple can be harder than complex: You have to work hard to get your thinking clean to make it simple. But it's worth it in the end because once you get there, you can move mountains."
Steve Jobs
"That's been one of my mantras - focus and simplicity. Simple can be harder than complex: You have to work hard to get your thinking clean to make it simple. But it's worth it in the end because once you get there, you can move mountains."
Steve Jobs