Skip to content
Python School

Python School

The snake in the classroom

  • Home
  • Quiz
  • Videos
  • Worksheet
  • Design Task

Author: Mathszone

Factors

November 19, 2023November 19, 2023 Mathszone

Write a program to find all the proper factors of an integer value entered by the user. Extension 1 Add all the values to a list Extension 2 Write the program so that it completes the task in as few Read More …

Design TaskProgramming Task

Narcissistic numbers

November 19, 2023November 19, 2023 Mathszone

Narcissistic numbers are a special type of number in which the sum of each digit is raised to the power of the number of digits in the number is equal to the number itself. For example, 153 is a narcissistic Read More …

Design TaskProgramming Task

Vampire Numbers

November 19, 2023November 19, 2023 Mathszone

Vampire numbers are numbers that can be expressed as the product of two other numbers, where the digits of those two numbers are rearranged and combined to form the original number. Write a program which will check if a number Read More …

Design TaskProgramming Task

Calculator 1

November 27, 2021November 27, 2021 Mathszone

Have a look at the code below Predict: Write down what you think it will do…. Run Were you correct? Investigate What is the purpose of each of the following commands? input() – Asks the user to type something into Read More …

Uncategorized

Comparing Values

March 5, 2020November 27, 2021 Mathszone

In this quiz, look carefully at the variable values… the try and work out what the program will print out.

Quiz

Age for School

February 25, 2020November 27, 2021 Mathszone

This quiz includes Boolean AND, Inputting a variable, Int(), Str() and If..elif..else commands. Welcome

Quizif, input, int(), str()

Latest Quizzes

  • Factors
  • Narcissistic numbers
  • Vampire Numbers
  • Calculator 1
  • Comparing Values

About This Site

This may be a good place to introduce yourself and your site or include some credits.

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright. All rights reserved.
Proudly powered by WordPress | Education Hub by WEN Themes