100 Days of Python challenges
Join the 100 day Python coding challenge. Master Python with daily challenges, projects, and expert guidance.
Start coding today!
Day 1 - Hello World
1. Write a program that prints "Hello World!" to the console
2. Add single line and multi-line comments to your code
Reading List:
1. How does Python compile and run the code?
2. Learn the difference between Python and Java
3. Difference between Compiler and Interpreter
2. Add single line and multi-line comments to your code
Reading List:
1. How does Python compile and run the code?
2. Learn the difference between Python and Java
3. Difference between Compiler and Interpreter
Day 2 - Variables
1. Create variables for your name, age, and favorite color and print them.
Reading List:
1. Learn the terms: initialization, declaration and assignment of variables
2. Learn the difference between Dynamically typed and Statically typed variables
Reading List:
1. Learn the terms: initialization, declaration and assignment of variables
2. Learn the difference between Dynamically typed and Statically typed variables
Day 3 - Input and Output
1. Write a program that reads user input and print it to the console.
2. Modify the program to read and print different data type inputs (integers, floating-point numbers, strings)
Reading List:
1. Explore various methods for reading different type of inputs
2. Modify the program to read and print different data type inputs (integers, floating-point numbers, strings)
Reading List:
1. Explore various methods for reading different type of inputs
Day 4 - Arithmetic Operations
1. Write a program that declares two integer variables and perform basic arithmetic operations (addition, subtraction, multiplication, division) on them. Print the results to the console.
2. Write a program that calculates the area of a rectangle. Prompt the user to input the length(integer) and width(integer) of the rectangle, calculate the area (length * width), and print the result.
3. Modify the above program to read decimal numbers as the length and width, and output the area to two decimal points
Reading List:
1. Learn about formatting options such as precision, alignment, and decimal places to present output in a clear and concise manner
2. Write a program that calculates the area of a rectangle. Prompt the user to input the length(integer) and width(integer) of the rectangle, calculate the area (length * width), and print the result.
3. Modify the above program to read decimal numbers as the length and width, and output the area to two decimal points
Reading List:
1. Learn about formatting options such as precision, alignment, and decimal places to present output in a clear and concise manner
Day 5 - Conditional Statements
1. Write a program that reads an integer as user input and prints whether the number is Odd or Even to the console
2. Write a program that takes three numbers as input and prints the largest among them
3. Write a program that checks if a given input year is a leap year or not
4. Write a program that reads the percentage and then prints their corresponding letter grade (A, B, C, D, or F)
2. Write a program that takes three numbers as input and prints the largest among them
3. Write a program that checks if a given input year is a leap year or not
4. Write a program that reads the percentage and then prints their corresponding letter grade (A, B, C, D, or F)
Day 6 - Calculate the area of a circle.
Write a program that takes radius of the circle and outputs the area of the circle to 2 decimal digits
Day 7 - Temparature Conversion
1. Write a program to convert temperature from Celsius to Fahrenheit.
2. Write a program to convert temperature from Fahrenheit to Celsius
Day 8 - Simple Calculator
Create a simple calculator program that can add, subtract, multiply, and divide two integers
Day 9 - Random number generator
1. Write a program that generates a random number.
2. Write a program that generates random number between 2 integers
Day 10 - For-loop
Use a for loop to print numbers from 1 to 10.
Blog|Feedback|Careers|Contact Us
Have Feedback or want to contribute? Email: hello[@]100DaysOfCode.io
100DaysOfCode@2024