Re: [Tutor] Responding Tweet: A Twitter Bot

2014-02-23 Thread Alexandre BM
Here is a twitter bot that I created, it evaluates math expression then it reply to the sender You can study how it works it's pretty simple :) [1] [1] https://github.com/rednaks/Twitter-Math-Bot On 20/02/2014 09:23, Zaki Akhmad wrote: > Hello, > > I am trying to create a twitter bot which respo

Re: [Tutor] For - if - else loop; print selective output

2012-10-26 Thread Alexandre BM
You can break the loop when you get a positive matches, and add a variable where you can count the number of positive matches, if it's equal to zero print 'not found' On 24/10/2012 17:43, Saad Javed wrote: Let me modify this example: a = [['jimmy', '25', 'pancakes'], ['tom', '23', 'brownies']