
Anurag Roy,Programmer
127 FOLLOWERS
Hi! I am Anurag and I have learned about coding from youtube and also from Google and many other apps. I know these programming skills will work in the very long run. In This Blog, You will be getting Programs and Source Codes Of Many Interesting Things Such as Games And many other Interfaces. The Programming languages That are to be used in this blog are Java and Python.
Anurag Roy,Programmer
3y ago
Anurag Roy,Programmer
4y ago
A Prime-Adam integer is a positive integer (without leading zeros) which is a prime as well as an Adam number.
Prime number: A number which has only two factors, i.e. 1 and the number itself.
Example: 2, 3, 5, 7 ... etc.
Adam number: The square of a number and the square of its reverse are reverse to each other.
Example: If n = 13 and reverse of 'n' = 31, then,
(13)2 = 169
(31)2 = 961 which is reverse of 169
thus 13, is an Adam number ..read more
Anurag Roy,Programmer
4y ago
Anurag Roy,Programmer
4y ago
Tic-Tac-Toe Game Using Java Program:
// A simple program to demonstrate
// Tic-Tac-Toe Game.
import java.util.*;
public class TTT {
static String[] board;
static String turn;
// CheckWinner method will
// decide the combination
// of three box given below.
static String checkWinner()
{
for (int a = 0; a < 8; a++) {
String line = null;
switch (a) {
case 0:
line = board[0] + board[1] + board[2];
break;
case 1:
line = board[3] + board[4] + board[5];
break;
case 2:&nb ..read more
Anurag Roy,Programmer
4y ago
Currency Converter Using Python Program:
""" Currency Converter----------------------------------------"""import urllib.requestimport jsondef currency_converter(currency_from, currency_to, currency_input): yql_base_url = "https://query.yahooapis.com/v1/public/yql" yql_query = 'select%20*%20from%20yahoo.finance.xchange%20where%20pair' \ '%20in%20("'+currency_from+currency_to+'")' yql_query_url = yql_base_url + "?q=" + yql_query + "&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys" try: yql_response = urllib.request.urlopen(yql_qu ..read more
Anurag Roy,Programmer
4y ago
Youtube Video Downloader Using JAVA
Program:
import java.io.File;import java.io.FileOutputStream;import java.io.IOException;import java.io.InputStream;import java.io.InputStreamReader;import java.net.HttpURLConnection;import java.net.MalformedURLException;import java.net.URL;import java.util.Enumeration;import java.util.Vector;import android.app.Activity;import android.app.ProgressDialog;import android.net.Uri;import android.os.AsyncTask;import android.os.Bundle;import android.util.Log;import android.widget.MediaController;import android.widget.VideoView;public class MyActivity extends ..read more
Anurag Roy,Programmer
4y ago
Encrypt & Decrypt Pdf Files Using Java Program:
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import com.pdftron.common.PDFNetException;
import com.pdftron.filters.FilterReader;
import com.pdftron.filters.FlateEncode;
import com.pdftron.filters.MappedFile;
import com.pdftron.pdf.*;
import com.pdftron.sdf.*;
//---------------------------------------------------------------------------------------
// This sample shows encryption support in PDFNet. The sample reads an encrypted document and
// sets a new SecurityHandler. The samp ..read more
Anurag Roy,Programmer
4y ago
Typing Speed Test Using Python Program:
import pygame
from pygame.locals import *
import sys
import time
import random
class Game:
def __init__(self):
self.w=750
self.h=500
self.reset=True
self.active = False
self.input_text=''
self.word = ''
self.time_start = 0
self.total_time = 0
self.accuracy = '0%'
  ..read more
Anurag Roy,Programmer
4y ago
Handwritten Digit Recognition using Python What is Handwritten Digit Recognition?
The handwritten digit recognition is the ability of computers to recognize human handwritten digits. It is a hard task for the machine because handwritten digits are not perfect and can be made with many different flavors. The handwritten digit recognition is the solution to this problem which uses the image of a digit and recognizes the digit present in the image.
Program:
from keras.models import load_model
from tkinter import *
import tkinter as tk
import win32gui
from PIL import ImageGrab, Image
import ..read more
Anurag Roy,Programmer
4y ago
Picture Puzzle Game Using JAVA Program:
import java.awt.event.*;
import java.awt.*;
import javax.swing.*;
class picpuzzle2 extends JFrame implements ActionListener{
JButton b1,b2,b3,b4,b5,b6,b7,b8,b9,sample,starB;
Icon star;
Icon ic0=new ImageIcon("pic/starB0.jpg");
Icon ic10=new ImageIcon("pic/starB10.jpg");
Icon ic20=new ImageIcon("pic/starB20.jpg");
Icon samicon1=new ImageIcon("pic/main.jpg");
Icon samicon2=new ImageIcon("pic/main2.jpg");
Icon samicon3=new Ima ..read more