Posts

Automating Piano Tiles in Python Which is Damn easy!!!!!!!!

Image
Piano Tiles is the most amazing game that we have played in our free time. I hope that you have also heard it and played also. So, I woke up today and thought that I should play a game and while playing the game I thought that why should not I automate it so I did. So I code this script and tried it and it is working very well. And this script is experimented on lagged.com which has a lot of games on their website and yes one more thing you can see my name on the leader boards now with the name 'Ak' Leaderboards: And yes I scored less because I can not wait anymore to make more games automated with python. The conclusion is yes it is fun coding this program. I hope you all will code also. T o make it run in your pc: Step1: first install the python and paste the script in your computer or system you have. Step2: get the positions of first, second, third and fourth grid iof the game, that where it is visible on your system's monitor. Step3: run the script and switch to browse

PALINDROMES IN PYTHON

Image
 

CALCULATING ARMSTRONG NUMBERS EASY TO CALCULATE AND UNDERSTANDABLE

Image

CALCULATING ARMSTRONG NUMBER IN PYTHON LANGUAGE

Code:-   while   True :      """ 128649     1^6+2^6+8^6+6^6....      """     a  =   input ( " FIRST LET ME KNOW THE NUMBER WHAT IS IT? :  " )     power  =   len ( a )     li  =   []      if  a  ==   " quit " . lower ():          quit ()      #print(power)      for  i  in  a :         e  =   int ( i ) ** power         li . append ( e )      #print(li)      #print(sum(li))      if   sum ( li )   ==   int ( a ):          print ( f " { a }  is an armstrong number." )      else:          print ( f " { a }  is not an armstrong number." ) while   True :      """ 128649     1^6+2^6+8^6+6^6....      """     a  =   input ( " FIRST LET ME KNOW THE NUMBER WHAT IS IT? :  " )     power  =   len ( a )     li  =   []      if  a  ==   " quit " . lower ():          quit ()      #print(power)      for  i  in  a :         e  =   int ( i ) ** power         li . append ( e )      #print(li

MY FIRST MYSQL PROJECT I EVER MADE

 FIRST FILE CODE: import  mysql . connector  as  connector ab  =   0 asking  =   int ( input ( " How many numbers you actually want to add:  " )) if  asking  ==   0 :      pass      quit () else:      while  ab  <  asking :         asking  -=   1         name  =   input ( " Enter The name you want to add:  " )         number  =   int ( input ( " Enter the number you want to add:  " ))         a  =  connector . Connect ( host = " localhost " ,   user   =   " root " ,                  password   =   " 9.8.9.9.6.7.7.4.1.1. " )         cur  =  a . cursor ()          #cur.execute("show databases")          #results = cur.fetchall()          #cur.execute("create database telephone_directory")         cur . execute ( " use telephone_directory " )          #cur.execute("create table telephone_directory(name char(200),            #       numbers bigint(12))")         cur . execute ( f "in

MAKING QRCODES IN PYTHON LANGUAGE OR PYTHON 3 LANGUAGE(AND YOU CAN SCAN THIS QR CODE [THE GIVEN IMAGE ON THIS BLOG])

Image
  import  qrcode  as  qr link  =   """ https://www.youtube.com/channel/UCzEHu0LH3QCT0YAYE_LH0wQ?view_as=subscriber """ a  =  qr . make ( link ) a . save ( " youtube special.png " , " PNG " )