In this post, we will see the solution of the Python Coding Question which is already asked in the TCS Xplore CPA Exam.
Category: Python
Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991…
In this category, we will cover topics like data types, operators, keywords, functions, loops, conditional statements, etc….
QR Code Generator GUI in Python
For creating the QR code generator GUI application we will be using pyqrcode and tkinter modules of python. tkinter module is used For making the GUI. This is a built-in module in python so no need to install it explicitly.pyqrcode module is used to create the QR code.
QR Code Generator in Python
For creating the QR code generator we will be using pyqrcode module of python. This module needs to be installed explicitly on your system because this module does not come up with python already.
TCS Xplore CPA Python Coding Question -2 with Solution
In this post, we will see the solution of the Python Coding Question which is already asked in the TCS Xplore CPA Exam.
TCS Xplore CPA Python Coding Question -1 with Solution
In this post, we will see Python Coding Question asked in TCS Xplore CPA with Solution. Create a class Painting with the below attributes: paintingID: string type painterName: string type paintingPrice: int type painting type: string type create constructor (__init__ method) which takes all the above attributes in the same sequence. Method will set the […]
How to Delete a specific Row from a Given SQLite Table using Python?
SQLite is a self-contained, high-reliability, embedded, full-featured, public-domain, SQL database engine. It is the most used database engine on the world wide web. Python has a library to access SQLite databases, called sqlite3. Let’s see how we can delete a specific row from a given Sqlite table. First, Let’s create a database and table then […]
How to import CSV file into an SQLite Table using Python?
In this post, we will see how to import CSV file data into an SQLite database table using Python. Now, For solving this requirement we will be using two modules: sqlite3 and pandas. So let’s discuss these first. sqlite3 module is used to access SQLite databases in Python. SQLite is a self-contained, high-reliability, embedded, full-featured, […]
Python – Program for Sum of cubes of first n natural numbers
In this post, We will see how to write a python program for finding Sum of cubes of first n natural numbers in different ways. Example: Input: N = 2 Output: 1 * 1 * 1 + 2 * 2 *2 => 9 OR 13 + 2 3 => 9 Input: N = 3 Output: […]
Python – Program for Sum of squares of first n natural numbers
In this post, We will see how to write a python program for finding Sum of squares of first n natural numbers in different ways. Example: Input: N = 2 Output: 1 * 1 + 2 * 2 => 5 OR 12 + 2 2 => 5 Input: N = 3 Output: 1 * 1 […]
Python – Program for printing Prime Numbers from the List of Numbers
In this post, We will see how to write a python program for finding prime numbers from the list of numbers in different ways. Click on this link : Prime Number Example: Input: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] Output: Prime Number : -> 2, 3, 5, 7, Input: [15, […]