Python Challenge - 101 Computing https://www.101computing.net Boost Your Programming Skills! Tue, 15 Oct 2024 10:06:55 +0000 en-US hourly 1 https://www.101computing.net/wp/wp-content/uploads/cropped-android-chrome-512x512-1-32x32.png Python Challenge - 101 Computing https://www.101computing.net 32 32 How Old is Your Cat? https://www.101computing.net/cat-age-calculator/ Thu, 31 Aug 2017 10:52:47 +0000 http://www.101computing.net/?p=1957 In this challenge we are going to create a cat’s age convertor find out how old a cat is in “human years”. This is very useful to understand more about cats and the care they need and to find out

The post How Old is Your Cat? first appeared on 101 Computing.

]]>
Acute, Obtuse and Reflex Angles https://www.101computing.net/acute-obtuse-and-reflex-angles/ Tue, 09 May 2017 13:02:35 +0000 http://www.101computing.net/?p=4577 Angles are often used in Computer Science especially when creating 2D or 3D user interfaces. Angle measurements are given in either radians or degrees. In this blog post we will use degrees. As the angle increase, the name of the

The post Acute, Obtuse and Reflex Angles first appeared on 101 Computing.

]]>
Happy Birthday! https://www.101computing.net/happy-birthday/ Thu, 16 Feb 2017 15:26:26 +0000 http://www.101computing.net/?p=3963 For this challenge we are going to write a Python program which will ask the end-user to enter their date of birth in the following format: dd/mm/yyyy. The program will then calculate and display the following information: The age of

The post Happy Birthday! first appeared on 101 Computing.

]]>
Marathon Time Calculator https://www.101computing.net/marathon/ Thu, 05 May 2016 19:56:53 +0000 http://www.101computing.net/?p=3062 In this challenge you are going to write a Python script to help a marathoner predict the overall time they can complete a Marathon in (42km). This estimation will be based on the runner’s pace which is the time they

The post Marathon Time Calculator first appeared on 101 Computing.

]]>
My Library https://www.101computing.net/my-library/ Sun, 27 Sep 2015 19:21:30 +0000 http://www.101computing.net/?p=2072 For this challenge you will work for the librarian who needs a computer program to help pupils find out where books can be found in the library. The library contains nine bookshleves labelled from A to I. Each bookshelf specialises

The post My Library first appeared on 101 Computing.

]]>
Limit 33 https://www.101computing.net/limit-33/ Tue, 08 Sep 2015 20:41:27 +0000 http://www.101computing.net/?p=2013 “Limit 33” is a simple game of adding a series of random numbers to a running total. The player’s aim it to reach a total as close as possible to 33 without taking this total over 33. Rules of the

The post Limit 33 first appeared on 101 Computing.

]]>
12-hour clock https://www.101computing.net/12-hour-clock/ Mon, 31 Aug 2015 16:51:29 +0000 http://www.101computing.net/?p=1970 Did You Know? The 12-hour clock is a time convention in which the 24 hours of the day are divided into two periods: a.m. (from the Latin ante meridiem, meaning “before midday”) and p.m. (post meridiem, “after midday”). Each period

The post 12-hour clock first appeared on 101 Computing.

]]>
Le Tour de France https://www.101computing.net/le-tour-de-france/ Mon, 20 Jul 2015 21:42:41 +0000 http://www.101computing.net/?p=1919 Learning Objectives By completing this challenge we are learning how to open and extract data from a text file, reading the file line by line. We will then use our program to make some calculations such as calculating the total

The post Le Tour de France first appeared on 101 Computing.

]]>
London 2012 https://www.101computing.net/london-2012/ Fri, 05 Jun 2015 23:25:16 +0000 http://www.101computing.net/?p=1186 Learning Objectives In this challenge we are going to investigate methods that can be used to: Read and extract data from a text file, Sort this data in ascending or descending order, Display this sorted data on screen. Context We

The post London 2012 first appeared on 101 Computing.

]]>
Calculating Pi using a Python script https://www.101computing.net/calculating-pi/ Sun, 10 May 2015 18:57:34 +0000 http://www.101computing.net/?p=1769 Did you know? Pi (π) is one of the most important and fascinating numbers in mathematics. Roughly 3.14, it is a constant that is used to calculate the circumference of a circle from that circle’s radius or diameter. Pi is

The post Calculating Pi using a Python script first appeared on 101 Computing.

]]>