Posts

SPAM BOT YT

 Source code :-  ''' Created by Mandeep Yadav ''' import pyautogui import time comment = pyautogui.prompt(text= "" ,title= "Enter the commment :- " ) numberoftimes = pyautogui.prompt(text= "" ,title= "How many times" ) wait = pyautogui.prompt(title= "wait for 10 sec" ) time.sleep( 10 ) number = 0 for i in range( 0 ,int(numberoftimes)):     number += 1     print(number)     pyautogui.click()     pyautogui.write(comment)     pyautogui.hotkey( "enter" )     time.sleep( 0 )

Strong password generator python

# Source code :- import random loweralphabets = [ 'a' , 'b' , 'c' , 'd' , 'e' , 'f' , 'g' , 'h' , 'i' , 'j' , 'k' ,                   'l' , 'm' , 'n' , 'o' , 'p' , 'q' , 'r' , 's' , 't' , 'u' , 'v' , 'w' , 'x' , 'y' , 'z' ] upperalphabets = [ 'A' , 'B' , 'C' , 'D' , 'E' , 'F' , 'G' , 'H' , 'I' , 'J' , 'K' ,                   'L' , 'M' , 'N' , 'O' , 'P' , 'Q' , 'R' , 'S' , 'T' , 'U' , 'V' , 'W' , 'X' , 'Y' , 'Z' ] numbers = [ '0' , '1' , '2' , '3' , '4' , '5' , '6' , '7' , '8' , '9' ] specialchar = ...

Railways_Enquiry_Program

 # Source Code :-  # Indian Railway Program import random serial = ['45487', '44656', '8468', '5621', '4545465', '8451', '2', '454154854', '81541', '8465', '4864651', '8454', '443513', '6543651', '6542',           '414565', '4578465', '46465764625', '46878645', '7874', '14512', '45464', '8456', '7854546', '8956132', '44542365', '45645132', '645412'] serial_random = random.choice(serial) train_name = ['Rajdhani', 'Delhi', 'City', 'Local', 'Metro',               'Kashmir', 'Indian', 'Chennai', 'Intercity', 'BadiGadi', 'Rault'] random_train = random.choice(train_name) fare = [50, 100, 150, 200, 175, 245, 485, 152, 300, 350,         500]                           # Credits :- Mandeep...

SIMPLE CALCULATOR [ JAVA ] .

Image
HELLO FRIENDS , HERE IS THE CODE FOR JAVA CALCULATOR , IT IS A SIMPLE CALCULATOR . YOU CAN SIMPLY COPY CODE AND RUN IN YOUR COMPILER , IDE .  CODE : -   import java.util.Scanner; public class Main{ public static void main(String[] args) { char operatorA; Double number1,number2,result; Scanner sc = new Scanner(System.in); System.out.print(" • Choose Any operator [ + , - , / , * ] :-   "); operatorA = sc.next().charAt(0); System.out.print("\n • Enter First number :- ");       number1 = sc.nextDouble();      System.out.print("\n • Enter Second Number :- ");      number2 = sc.nextDouble();      switch (operatorA){          case '+' :       result =  number1 + number2;       System.out.print("\n • Addition of "+number1+" and "+number2+" is "+result+              "\n");...

Perimeter & Area of Square by Java.

Image
Hello Friends  , How are you all, hope you are fine. If you are also looking for some Java code from which we can get the area and parameter of a square. So here is the code, by the way you can do it with method recursion also, but I have this object oriented program. Well, both the methods are good.. The Following Code is Here :- import java.util.Scanner; class square{     int side;     public void area(){         System.out.println("\nThe Area of the square is ~> "+ side* side+" m^2");     }     public void perimeter(){         System.out.println("\nThe Peremiter of the square is ~> "+ 4 * side+" Units");     } } public class Main{     public static void main (String[] args) {       Scanner sc = new Scanner(System.in);       System.out.print("ENTER THE SIDE OF THE SQUARE :- ");       square number = new square();     ...

TEMPERATURE CONVERTER ( JAVA ) ...

Image
Hello Friends ,  How are you , i hope you all are fine , Btw today i make a temperature converter by using java . it take input from user and give your result, what you want . If this is your assignment so this code (my code) was surely help you .. THE CODE WAS GIVEN BELOW :- import java.util.Scanner; public class Main { static float Fr(float F){ return (F*9/5)+32; }  static float Cr(float C){ return (C-32)*5/9; } public static void main(String[] args) {   Scanner sc = new Scanner(System.in);   System.out.println(" • Enter '' true true '' for converting CELSIUS into FARANHEIT \n");   System.out.println(" • Enter '' false false '' for converting FARANHEIT into CELSIUS \n");                                                boolean Celsius = sc.nextBoolean();               ...

PC CRASHED !

Image
HELLO FRIENDS , I am so upset with my computer that what to tell now.. That day my programming software was not working, so today the display started flickering.So I was not getting any solution for it, then I thought that if I put new windows, then I put a new window but still nothing worked.Then I took some important things, after that formatted the whole puck but this solution did not work either.Then I sat down disappointed, after a while I thought why not take out the RAM, then I took out a RAM from the computer and then start the computer.After doing this the computer ran for 1 hour and then the screen flickered after that. Then restarted again and saw it.By doing this the screen was flickering for a while but it was fine. By the way, if this happens to you too, then you should also do the same, hope this will solve your problem too. Comment.if this work is done , then I will be very happy if you do this .  THANKS .