Posts

Showing posts with the label Python mini project

Guess the number game in python

Image
Python mini project - Guess the number game Everyone will be looking for a mini project after learning the basic programming language concepts. Here you will be able to find a very basic mini project using python. Explanation : Ask the user to enter a number between 1 and 10. At the same time generate a random number between 1 and 10. If the number entered by the user matches the random number generated increase the score of the user. Alternatively, if the number guessed by the user doesn't match the random number generated, proceed with the next attempt. The user will be given a total of five numbers to guess. Each time the use r guesses right, the score will be increased and the final score will be calculated for 5 marks. Constraints : The user is given five numbers to guess. Total score is five. For each new attempt a new random number is generated. Final score will be calculated for five. For example, Let the random number be 6 and if the user entered 3 the

Build a Covid website using HTML, PHP and Python

Image
Building a Covid update website using HTML, PHP, and Python During this pandemic, people get scared and stressed from seeing the covid cases reported. Besides this people show interest  in looking at the daily cases reported, surfing the internet for the exact report. So a website with an accurate covid report is the most demanded one, nowadays. To create a website that   shows   covid cases, we can use HTML for   frontend and python, PHP for backend. Python is the most popular programming language. Just learning the theoretical concepts alone will not make us gain knowledge. So it is very important to apply it in real-time applications for better understanding. Try yourself to implement what you think. No matter if you don't arrive at the right solution. Keep trying. Trial and error make you learn more.   Here I have used the Web scraping technique to get the number of covid cases. Web scraping is the concept of extracting data from websites. For this application, I have extra