0% found this document useful (0 votes)
3 views

7_day_computational_thinking_challenge

The document outlines a 7-day programming challenge focused on computational thinking. Each day includes a specific programming task, ranging from basic arithmetic and decision making to loops, lists, string manipulation, functions, and culminates in a mini project. Participants will develop their coding skills through practical exercises and problem-solving activities.

Uploaded by

leonhardkwahle
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

7_day_computational_thinking_challenge

The document outlines a 7-day programming challenge focused on computational thinking. Each day includes a specific programming task, ranging from basic arithmetic and decision making to loops, lists, string manipulation, functions, and culminates in a mini project. Participants will develop their coding skills through practical exercises and problem-solving activities.

Uploaded by

leonhardkwahle
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

7-Day Computational Thinking Programming Challenge

Day 1: Introduction to Computational Thinking


Write a program to calculate the sum of two numbers entered by the user. Explore input, output, and

basic arithmetic.

Day 2: Decision Making


Write a program to check whether a given number is even or odd. Use if-else statements to

implement conditional logic.

Day 3: Loops and Repetition


Write a program that prints the multiplication table of a given number. Use a for loop to implement

repetition.

Day 4: Problem Solving with Lists


Write a program that finds the largest number in a list entered by the user. Explore list operations

and iteration.

Day 5: String Manipulation


Write a program that checks if a given string is a palindrome. Use loops and slicing to solve the

problem.

Day 6: Working with Functions


Write a program to calculate the factorial of a number using a function. Understand the concept of

reusable code.

Day 7: Mini Project: Guess the Number Game


Create a number guessing game where the user has to guess a number between 1 and 100.

Provide feedback if the guess is too high or too low, and keep track of the number of attempts.

You might also like