Latest Posts From Aprataksh Anand

Blackjack Terminal Featured Image

Create our own Blackjack Game using Python

Blackjack is a card-based game played at casinos. The participants in this game do not compete with each other but the dealer assigned by the casino. In this article, we will be creating the Blackjack game between a player and a dealer from scratch, that can be played on the terminal. Rules of Blackjack We […]

Yahoo Finance Scraper Featured Image

How to Scrape Yahoo Finance Data in Python using Scrapy

Yahoo Finance is a well-established website containing various fields of financial data like stock prices, financial news, and reports. It has its own Yahoo Finance API for extracting historic stock prices and market summary. In this article, we will be scraping the original Yahoo Finance Website instead of relying on the API. The web scraping […]

Syntax Error Eol String Featured Image

Syntax Error: EOL while scanning string literal

Python is an interpreted language, which essentially means that each line of code is executed one by one, rather than converting the entire program to a lower level code at once. When the Python interpreter scans each line of code and finds something out of ordinary, it raises an error called the Syntax Error. These […]

List Files Python Featured Image

How to List Files in a Directory Using Python?

In this tutorial, we’re covering everything you need to know about how to list files in a directory using Python. Python is a general-purpose language, used in a variety of fields like Data Science, Machine Learning, and even in Web Development. There seems to be no restriction in the application of Python Language. Therefore, it […]

Permutations Combinations Featured Image

Permutations and Combinations using Python

In this article, we will be learning how to find permutations and combinations using Python. Python provides a library named itertools that contains in-built functions to calculate permutations and combinations. Let us quickly look at the implementation of these functions. Importing the required library Before we are able to use any of the following functions, […]

Mastermind Game Featured Image

Create Mastermind Game in Python – Code a code-breaking game

Mastermind is a two-player code-breaking game, in which one player hides a code consisting of colors, while the other player has to guess it using clues given by the former player for each turn. In this tutorial, we will be creating our own Mastermind Game using Python Language. In our version of Mastermind, the computer […]