# data[].attributes.body
Your Challenge...

This lesson I would like you to try and work out these two different challenges.

Use Thonny to create your code.

Please use your notes from previous lessons or look back at other programs you have written this term to help you in completing the challenges!

Good Luck :)

# data[].attributes.headline
Boris & His BikeConditions:                 How far can Boris ride for charity?                                   If he makes it 1 mile: Poor form old chap                If more than 10 miles: Good effort Bojo!                    If he makes it more than 15 miles: You've done London proud!

# data[].attributes.subject
Boris & His BikeConditions:                 How far can Boris ride for charity?                                   If he makes it 1 mile: Poor form old chap                If more than 10 miles: Good effort Bojo!                    If he makes it more than 15 miles: You've done London proud!

# data[].attributes.headline
Extension                                                                   Can you think of a way to make the programs responses more complex? Perhaps using a not equal to operator in your programs (!=) ...and use a suitable response?

# data[].attributes.subject
Extension                                                                   Can you think of a way to make the programs responses more complex? Perhaps using a not equal to operator in your programs (!=) ...and use a suitable response?

# data[].attributes.headline
Harry Potter & Drako Malfoy Restraining Order

# data[].attributes.subject
Harry Potter & Drako Malfoy Restraining Order

# data[].attributes.body
Conditions: Drako must stay away from Harry at all times - can you develop a program to ask the user how close Drako is to Harry and assess Harry's feelings depending on how close Drako is?

If equal to 1 metre away: Too close!

If more than 30 metres away: OK

If more than 80 metres away: Very happy!