Skip to main content

Code #11 Speak Function

                GREETINGS TO ALL YOU!!!! This is text to speak converter Function from  win32com.client  import  Dispatch def   speak (str):     speak = Dispatch( "SAPI.spVoice" )     speak.Speak( str ) if  __name__  ==   "__main__" :     speak("# your text goes here")

DIAGRAM #1 WHILE LOOP STRUCTURE

                           GREETINGS TO ALL OF YOU!!!!!!!!


WHILE LOOP STRUCTURE 

HOW WHILE LOOPS WORK???

YOU WILL BE KNOWING IT WITH THE HELP OF DIAGRAM


thank you guys and please make sure you follow me on 

instagram: https://www.instagram.com/vaibhavsingh_star/

 

Comments

Popular posts from this blog

GUI (With Python) # 1

                         GREETINGS TO ALL OF YOU!!!! Welcome everyone to our very new logic building program Where We are Going To Start Our New J ourney😎😎  Series Of GUI With Python#1 # Getting Start With The Basics Of GUI ( Graphic User Interface) Python provides various options for developing graphical user interfaces (GUIs). Most important are listed below. Tkinter  − Tkinter is the Python interface to the Tk GUI toolkit shipped with Python. We would look this option in this chapter. wxPython  − This is an open-source Python interface for wxWindows  http://wxpython.org . JPython  − JPython is a Python port for Java which gives Python scripts seamless access to Java class libraries on the local machine  http://www.jython.org .  # In This Series We are Going To have Our GUI With Tkinter Module # Lets See A basic GUI window With Tkinter Module # Code for it :- import Tkinter t...

star pattern in triangle formation

GREETINGS TO ALL OF YOU!!!!! We will continue with our PATTERN PRINTING PROGRAM # To Make Right Triangle Formation  Pattern   n= int ( input ( "enter number:... \n " )) for i in range ( 0 ,n+ 1 ): # i= 0 to 5,i=0,1,2,3,4 for j in range ( 1 ,i): #j=1,0 ,1,1 1,2 (1,3) (1,4) print ( "*" , end = '' ) print ( " " ) thank you guys !!! instagram id: https://www.instagram.com/vaibhavsingh_star/

Code#1 ( For Making A Calculator) PROGRAM

  print ( "opration you can perform are:-") "|addition +" "|subtraction -" "|multiplication *" "|division/" "|exponent **" ) while True : num1= float ( input ( "enter your number: " )) opration=( input ( "enter your oprator: " )) num2= float ( input ( "enter 2nd number: " )) if (opration== '+' ): print (num1+num2) elif (opration== '-' ): print (num1-num2) elif (opration== '*' ): print (num1*num2) elif (opration== '/' ): print (num1/num2) elif (opration== '**' ): print (num1**num2) a= input ( "do you want to continue, if yes write yes and if no write no:......" ) if a== 'yes' : continue elif a== 'no' : break print ( "thank you !!!!!!" )