Found 27759 Articles for Server Side Programming

Python - Column Mean in tuple list

Niharika Aitam
Updated on 02-Jan-2024 11:58:46

43 Views

The column mean in a tuple list refers to the average value of elements within each column of the tuple data. A tuple list is a collection of tuples, where each tuple represents a record or observation, and the elements within each tuple correspond to different columns or variables. Column means can be particularly useful when dealing with numerical data and performing statistical analysis or making data-driven decisions. For example, consider the following tuple list. data = [(1, 2, 3), (4, 5, 6), (7, 8, 9)] In this case, the tuple list has three tuples, and each tuple ... Read More

Given two numbers as strings, find if one is a power of other

Rudradev Das
Updated on 27-Dec-2023 17:26:59

98 Views

Assume we have a data set of some numbers as a string and denoted as str[]. Now the task is to multiply the two large numbers which represents a string here. We need to find out from those two numbers as strings, find if one is a power of other. Here is a general example of the process − Input for the process us: a = "374747", b = "52627712618930723" Output : YES THE VALUE IS HERE Explanation of the process: 374747^3 = 52627712618930723 Input for the process is : a = "2", b = "4099" Output : NO ... Read More

Palindrome by swapping only one character

Rudradev Das
Updated on 27-Dec-2023 17:23:08

56 Views

In a C++ environment, the palindrome is a process where a set or string remains same from the intial stage of the process to termination of that same particular process. Assume, we have a string denoted as the str[]. And the task is to check the string will be paindrome or not after performing the swapping process with only one character for once. Here is a general example of the swapping process − Input : ARBRDD Output : true Explanation: Swap the value A(1st index present in the list) with the R. Input : INDBAN Output : true Explanation: ... Read More

Print reverse string after removing vowels

Rudradev Das
Updated on 27-Dec-2023 17:18:14

61 Views

The reverse() is a pre-installed and predefined header file, which is used to define as a template in a process in a C++ environment. The method is able to reverse the elements from last to first manner in a range for any value container. For this process the time complexity is O(n). Lets assume, we have a string or a sentance declared as str[] with some data elements and now the task is to perform reverse process after removing the vowels from that string to get the final outcome. Here is some general examples of the process method − ... Read More

Program to reverse a string (Iterative and Recursive)

Rudradev Das
Updated on 27-Dec-2023 17:14:39

54 Views

The reverse() is a pre-installed and predefined header file, which is used to define as a template in a process in a C++ environment. The method is able to reverse the elements from last to first manner in a range for any value container. For this process the time complexity is O(n). Lets assume, we have a string declared as str[] with some data elements and now the task is to perform reverse process on this string to get the final outcome. Here is a general example of the process − Input string is here : S = "ARBRDD" ... Read More

Count palindromic characteristics of a String

Rudradev Das
Updated on 27-Dec-2023 17:04:09

20 Views

In a C++ environment, the palindrome is a characteristics where we get the same value after getting the result. Assume, there is a string denoted as S and the length is N. Now we need to run an operation on that string to find the palindromic characteristic is the number of k-palindromes in a given range. Here is a general example of the process − Input for the process : abba Output by the process : 6 1 0 0 Explanation of the method: "6" 1-palindromes numbers operation = "a", "b", "b", "a", "bb", "abba". "1" 2-palindromes numbers operation ... Read More

Create a Pomodoro Using Python Tkinter

Tamoghna Das
Updated on 21-Dec-2023 10:50:21

229 Views

What is Pomodoro? Francesco Cirillo, a university student at the time, invented the Pomodoro Method in the late 1980s. Cirillo was having difficulty focusing on his academics and completing homework. He asked himself, feeling overwhelmed, to commit to only 10 minutes of dedicated study time. Inspired by the challenge, he discovered a tomato-shaped kitchen timer (pomodoro in Italian), and the Pomodoro technique was created.In this tutorial, we will be creating a Pomodoro Timer using Python and Tkinter. The timer will be created using a GUI, and we will be using the Tkinter module to create the GUI. Steps and Processes ... Read More

Creating a Tabbed Browser using PyQt5

Tamoghna Das
Updated on 21-Dec-2023 10:47:04

112 Views

What is PyQt5 Library in Python? A Python binding for the well-known cross-platform GUI toolkit Qt is called PyQt5. It enables Python programmers to construct desktop programmes that can run on Windows, macOS, and Linux and have a sophisticated graphical user interface (GUI). PyQt5 gives users access to all of Qt's features, including as support for cutting-edge graphics, animations, and multimedia. What are the Advantages and Disadvantages of PyQt5 Library? Advantages Cross-platform functionality − PyQt5 programmes may operate on several systems without the need for code modifications. This enables developers to produce software that is usable by a ... Read More

Create a Python Script Notifying to take a break

Tamoghna Das
Updated on 21-Dec-2023 12:52:51

76 Views

What is the requirement of Python Script? We spend a lot of time in front of screens in today's society, whether we're working on a computer or scrolling through our phones. This is true whether we're working on a computer or using our phones. Since sitting for extended periods of time and staring at screens both have been linked to a variety of health problems, this might be detrimental to our wellbeing. It is essential to ensure that we take frequent pauses in which we are able to stretch, move about, and provide a rest for our eyes. Within the ... Read More

Create a Pull request on GitHub using Pycharm

Tamoghna Das
Updated on 21-Dec-2023 10:37:58

75 Views

What is GitHub? GitHub is a well-known website that serves as a platform for hosting software projects and facilitating collaborative work on such projects. Git, which is a distributed version control system, may be used to manage changes to a codebase, which is one of the most important functions of the platform known as GitHub. Pycharm is a well-known integrated development environment (IDE) for Python, and it will be the tool that we will use to go through the process of creating a pull request on GitHub in this lesson. Prerequisites Before we start coding, there are a few prerequisites ... Read More

Advertisements