There are a few items to fix with your current code other than indenting (which could be a copy-paste issue). The first two if statements are evaluating the same thing. As a result, this will always print "take the bus" and ask "how far..." when the first answer is "yes". According to the flow chart, the question should only be asked if the first answer is "no". The code needs an elif to correct that.
The other major problem I see is the third logic expression. The flow chart indicates that one should walk only when the distance is less than 2km, not when it is 2km or less. Plus, it isn't comparing anything right now. This can be fixed by converting the input() to a number and then comparing it to 2.
value = input("is it raining")
if value == 'yes':
print("take the bus")
elif value == "no"
decision = float(input("how far in km do you need to travel"))
if desision < 2:
print("walk")