Posts

BMI CALCULATOR

 w = input("Enter Your Weight in KG.\n") h =  input("Enter Your height in Meter.\n") #BMI = kg/m2  kilograms = float(w) height = float(h)*float(h) BMI = float(kilograms)/float(height) print("your BMI is",BMI)

PYTHON MARKSHEET

 Name = input("Enter Your Name : \n") Maths = input("Marks in Maths : \n") Science = input("Marks in Science : \n") Hindi = input("Marks in Hindi : \n") English = input("Marks in English : \n") SST = input("Marks in S.S.T : \n") tm = float(Maths) + float(SST) + float(Science) + float(English) + float(Hindi) marks= tm / 500 percent = marks * 100 print("Name - ",Name) print("Maths - ",Maths) print("Science - ",Science) print("Hindi - ",Hindi) print("English - ",English) print("SST - ",SST) print("Total Marks =",tm,"out of 500") print("Percentage = ", percent)

GOOGLE SPEECH SEARCH

 import speech_recognition as sr import webbrowser r = sr.Recognizer() with sr.Microphone() as source:     print("What you want to search\n")     print("Listening.......\n")     audio = r.listen(source) print(('opening : ' + r.recognize_google(audio))) p = r.recognize_google(audio) webbrowser.open(p)

TABLE MULTIPLIER

 num=int(input("Enter The digit for multipliers\n")) for multiplier in (0,1,2,3,4,5,6,7,8,9,10):     print(str(num)+" X " + str(multiplier)+"="+str(num*multiplier))

FAKE VBS FILE(WINDOWS WARNING)

 X=MsgBox("Your PC is Corona Positive, Do you want to quarantine it ?If yes, Then press OK",0+48,"Covid-19 Alert")  Y=MsgBox("PC is in quarantine Don't access social websites",0+64,"System alert")  X=MsgBox("Virus Detected! ",0+48,"Windows Security") X=MsgBox("Do You Want to scan pc?",4+64,"Windows Security") X=MsgBox("Windows Defender is Unable To Scan virus",2+16,"Windows Security") X=MsgBox("Windows Defender is Unable To Scan virus",0+16,"Windows Security") X=MsgBox("Virus Deleted Your System Files............",0+48,"Windows Security") X=MsgBox("Alert! Virus collecting Your personal Files,password",0+48,"Windows Security") X=MsgBox("Your PC is Hacked!",0+48,"ATTENTION")
  python   voice search recognition on google import  speech_recognition  as  sr import webbrowser r = sr.Recognizer() with sr.Microphone() as source: print ( "What you want to search \n " ) audio = r.listen(source) print (( 'opening : ' + r.recognize_google(audio))) p = r.recognize_google(audio) webbrowser.open(p) Table of any Number num= int ( input ( "Enter The digit for multipliers \n " )) for multiplier in [ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 ]: print ( str (num)+ " X " + str (multiplier)+ "=" + str (num*multiplier))
  Useful keyboard shortcuts. Basics Keyboard Shortcuts Ctrl+Z: Undo. Ctrl+W: Close. Alt+Tab: Switch apps. Alt+F4: Close apps. Win+left arrow or Win+right arrow: Snap windows. Win+Tab: Open the Task view. Tab and Shift+Tab: Move backward and forward through options. Ctrl+Esc: Open the Start menu. ctrl+shift+esc: Open Task manager. Ctrl + A : Select all. Ctrl + X : Cut. Ctrl + B :  Bold . Ctrl + I :  Italic . Ctrl + U :  Underline the Text . Ctrl + N : New. Ctrl + P : Print. Ctrl + O : Open file. Ctrl + S : Save. Ctrl + Shift + S : Save As. Ctrl + Y : Redo. Window Logo Key ShortCut  Windows logo key Open or close the Start menu Windows logo key + Pause Display the System Properties dialog box Windows logo key + D Display the desktop Windows logo key + M Minimize all windows Windows logo key + Shift + M Restore minimized windows to the desktop Windows logo key + E Open Computer Windows logo key + F Start a Feedback dialog Ctrl+Windows logo key + F Search for comput...