-Data types in Python – Python provides a variety of built-in data types that allow you to handle different kinds of data effectively. Here […]
Read moreTag: coding
Typecasting in Python
Type casting in PythonΒ Type Casting is the method to convert the Python variable data type into a certain data type in […]
Read moreProgram to Reverse a Number in C++
Program to Reverse a Number in C++ Program to Reverse a Number in C++ #include <stdio.h> using namespace std; int main() { int n, […]
Read moreC++ Program to Add Two Given Numbers
C++ Program to Add Two Given Numbers C++ Program to Add Two Given Numbers #include <iostream> using namespace std; int main() { int input1, […]
Read moreWrite a program in python to check whether a number is prime or not.
Here’s a Python code to check if a given number is prime or not: def is_prime(n):if n <= 1:return Falseelif n <= 3:return Trueelif n […]
Read moreSecond Largest Element in an Array
Second Largest Element in an Array Second Largest Element in an Array #include <iostream> using namespace std; int main() { int arr[] = {1, […]
Read moreGetting started with Python
INTRODUCTION Python is a popular programming language. It was created by Guido van Rossum, and released in 1991.It is used for:web development (server-side),software development,mathematics,system script […]
Read moreC program to copy contents of one file to another file
#include <stdio.h> #include <stdlib.h> // For exit() int main() { FILE *fptr1, *fptr2; char […]
Read moreProgram in Switch Statement
Program in Switch Statement Program in Switch Statement Switch statements : Switch case statements can be used to execute the condition code based on the […]
Read moreColourful firework π
window.onload = () => { const canvas = document.createElement(“canvas”); const ctx = canvas.getContext(‘2d’); const GRAVITY = 0.05; const FRECTION = 0.99; […]
Read more
Recent Comments