The function always sends the same message

Reflate -the tails to y-mto"

No matter whith option is thosen ty the user, the CJ>>.twi WW sends the same W to

The S-bvbuzz. CEO's homepage on Twi-fc-fcev-

No matter whith option is thosen ty the user, the CJ>>.twi WW sends the same W to

Twittev-

Well, duh, it's pretty obvious really... you need a version of the function that tweets the low price and another that tweets an emergency order. How hard is that?

Take -the original Twitter ¿ode and Create two new

-functions-

Well, duh, it's pretty obvious really... you need a version of the function that tweets the low price and another that tweets an emergency order. How hard is that?

Take -the original Twitter ¿ode and Create two new

-functions-

def send_to_twitter_price_low():

def send_to_twitter_emergency():

# place an emergency order.

def send_to_twitter_price_low():

def send_to_twitter_emergency():

# place an emergency order.

Something doesn't feel quite right about this solution.

Can you see the problem that this creates? Can you think of a solution that fixes the problem?

Lines that start W.tK# are known as comments in Python- Comments are Code annotations ?ut there by a doder and are meant to be read by other Coders working with the Codepython ignores all Comments, because they aren't executable Code-

set parameters

Was this article helpful?

0 0

Post a comment