The store will not work correctly in the case when cookies are disabled.
plus alert_in_circle basket basket_full chev_down chev_right chev_right_small cir_eye cir_pencil cir_puzzle c_scissors cross pencil message instagram twitter linkedin linked youtube link look paypal p_discover p_maestro p_mastercard p_paypal p_visa search secure sq_book sq_earphones sq_eye sq_message sq_pencil sq_play play sq_search star tick user user_in_circle wishlist zoom_big zoom_in zoom_out nav play_video download mail peeko
Skip to Content

Our Partners can provide personalised buying advice, the opportunity to receive free books and free delivery when shopping at an online party.

Shop with a different Partner

I prefer to shop direct with Usborne

On this website you can browse and buy Usborne books in English, French, German, Spanish, Catalan, Italian, Dutch, Korean and Brazilian Portuguese.

In the UK and certain countries in Europe, you can buy directly from Usborne or from an Independent Usborne Partner. In the USA you can buy books via links to Usborne Books & More, the website of our US distributors.

Elsewhere in the world we provide links to local online retailers who will fulfil and deliver your order. Please check the retailer’s delivery destinations to make sure they deliver where you are.

In China, you can buy Usborne books in English and in Chinese (simplified characters) via online and offline retailers.

Toggle Nav
50 years of books for curious kids
  • Books
    • Browse by Age
      • 0 - 3 years
      • 3 - 5 years
      • 5 - 7 years
      • 7 - 11 years
      • 11 - 13 years
      • 13 years+
      • Browse by Age
    • Browse by Category
      • Activity books
        • Viewing Activity books
        • Colouring books
        • Drawing and doodling
        • Puzzles and quizzes
        • Sticker books
          • Viewing Sticker books
          • Sticker Dolly Dressing
          • Sticker books
        • Wipe-clean books
        • Rub-down transfer books
        • Write-in activity books
        • Activity books
      • Baby books
        • Viewing Baby books
        • Christmas books for babies
        • Board books
        • Cloth and fold-out books
        • Baby novelty books
        • THAT'S NOT MY®
          • Viewing THAT'S NOT MY®
          • Christmas
          • Fantasy
          • Farm animals
          • Wild animals
          • Pets
          • Vehicles
          • THAT'S NOT MY®
        • Baby books
      • Christmas books for kids
      • Early years
        • Viewing Early years
        • Going to school
        • First skills
          • Viewing First skills
          • Learning to write
          • Numbers and first sums
          • Letters, shapes and colours
          • First skills
        • Phonics and learning to read
        • Nursery rhymes
        • Word books
        • Growing up and first experiences
        • Early years
      • Easter and Spring
      • English
        • Viewing English
        • Creative writing
        • Dictionaries
        • English
      • Fiction
        • Viewing Fiction
        • Animal stories
        • Classic stories
        • Fairy tales
        • Funny stories
        • Graphic novels
        • Story collections
        • Fiction
      • Foreign languages
      • Geography and environment
        • Viewing Geography and environment
        • Earth and the environment
        • Seas and oceans
        • Weather and climate
        • Activism
        • Geography and environment
      • Growing up and mental health
        • Viewing Growing up and mental health
        • Mental health and feelings
        • Relationships and Sex Education
        • Growing up and mental health
      • History
        • Viewing History
        • Ancient Egypt
        • Ancient Greece
        • Ancient Rome
        • Art history
        • British history
        • Famous people and explorers
        • Knights and castles
        • Prehistoric times
        • Vikings
        • World wars
        • History
      • Back to school books
      • Hobbies and interests
        • Viewing Hobbies and interests
        • Art and crafts
        • Chess
        • Cooking and food
        • Fashion
        • General knowledge
        • Music
        • Nature and outdoors
        • Religions
        • Sports
        • Hobbies and interests
      • Libros en Español
      • Lift-the-flap books
      • Maths
        • Viewing Maths
        • Maths dictionaries
        • Puzzles and activities
        • Telling the time
        • Times tables
        • Maths
      • Novelty books
        • Viewing Novelty books
        • Jigsaws
        • Books with toys
        • Magic painting and fingerprinting
        • Pop-up books
        • Sound and musical books
        • Touchy-feely books
        • Novelty books
      • Picture books
        • Viewing Picture books
        • Picture book stories
        • Non-fiction picture books
        • Picture books
      • Read with Usborne
        • Viewing Read with Usborne
        • Read with Usborne Level 1
        • Read with Usborne Level 2
        • Read with Usborne Level 3
        • Read with Usborne Level 4
        • Read with Usborne
      • Science and technology
        • Viewing Science and technology
        • Space
        • Computers and coding
        • Human body
        • Science dictionaries
        • Technology and inventions
        • Transport and vehicles
        • Science and technology
      • Dinosaurs
      • Browse by Category
    • Popular Themes
      • Christmas books for kids
        Christmas books for kids
      • Earth and the environment
        Earth and the environment
      • Mental health and feelings
        Mental health and feelings
      • Jigsaws
        Jigsaws
      • Sound and musical books
        Sound and musical books
    • Popular Series
      • Sticker Dolly Dressing
        Sticker Dolly Dressing
      • THAT'S NOT MY®
        THAT'S NOT MY®
      • Billy and the Mini Monsters
        Billy and the Mini Monsters
      • Farmyard Tales Poppy and Sam
        Farmyard Tales Poppy and Sam
      • Usborne Early Years Wipe-clean
        Usborne Early Years Wipe-clean
      • Phonics Readers
        Phonics Readers
      • Key Skills
        Key Skills
      • 100 Things to Know
        100 Things to Know
    • New Books
    • Browse All Books
    • Books
  • Activities for Kids
    • Discover Activities for kids
    • Play and Learn at Home
    • Fact of the Week
    • Activity Sheets
    • Write a Story
  • Quicklinks
    • Discover Quicklinks
    • Quicklink of the Week
    • Browse Quicklinks Books
    • How to Say
    • Online Safety
    • Quicklinks Help
  • About Us
    • About Us
    • Meet the Usborne Family
    • Usborne Around the World
    • What We Stand For
    • Can We Help You?
    • Careers at Usborne
    • Blog
  • Fact of the Week
  • Sign In / Register
  • Buying Options
  • Privacy
  • Terms & Conditions
  • Home
  • Books
  • Try Python Coding Online

Try Python Coding Online

On this page, you can try out some of the programs in Coding for Beginners using Python and test your own programs. The programs run in your browser in windows called Trinkets and you don’t need to download or install any software.

Scroll down to view sample programs from Coding for Beginners using Python – or go to the bottom of the page for a Trinket where you can run your own code.

Click or tap the ‘Run’ arrow ➤ to see the code in action. You can edit the code, too, but you won’t be able to save your changes.

Guessing game

This program generates a random number between 1 and 20 for you to guess. Try editing the code to change the range of numbers. For more about this program see page 30 in Coding for Beginners Using Python.

A game of consequences

This program generates silly stories, like the party game ‘Consequences’. It uses variables stored as lists – see pages 36-39 in Coding for Beginners Using Python. Each time you run the program you’ll get a different story. Try changing some of the variables to generate different stories.

Spy messages

Spies use encryption to scramble the letters in their messages. This ‘Caesar Cipher’ program takes your message and shifts each letter along the alphabet a certain number of places, depending on the number you enter in the code. See pages 42-45 for more about this program – and how to decrypt your messages.

Try your own code

You can try your own Python programs in this Trinket window – or any of the programs up to page 45 in Coding for Beginners Using Python. You can download the code for the programs at the Usborne Quicklinks. (Programs after page 46 use code that is not supported by this Trinket window.)

 

Usborne Quicklinks

Download the code for programs in Coding for Beginners Using Python, and for links to lots of other useful resources

Usborne Quicklinks

Useful Links

  • Buying Options
  • Newsletter Sign-Up
  • Privacy Policy
  • Cookie Settings
  • Terms & Conditions
  • Modern Slavery Statement

Menu

  • Books
  • Activities For Kids
  • Quicklinks
  • About Us
  • Blog
  • Fact of the Week

Contact

FAQ and Help

Trade Enquiries

Press Information

 

Connect

  • Follow Us on Facebook
  • Follow Us on Twitter
  • Follow Us on Pinterest
  • Follow Us on Instagram

 

About Us

Usborne is one of the world’s leading independent book publishers. We are proud to be a family business that aims to create brilliant books for children of all ages.

©2023 Usborne Publishing Limited

Site by Superb