See Mirobit.Python code on the right - to read and display the analoge input at pin0 when button A is pressed.
This script was composed in the new, alpha, version of the python editor https://python.microbit.org/v/alpha
http://www.bbc.co.uk/programmes/articles/24J5FZPgSXRpMyYyp8QCDDw/our-primary-live-lessons
Build instructions including a shopping list can be found here: goo.gl/eEFhcy
Thanks go to Lorraine Underwood
Many thanks to David Whale for the above advice.