Skip to main content

Posts

Showing posts with the label pattern printing program

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")

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/

STAR pattern printing #1

 GREETINGS TO ALL OF YOU!!!!!! WE WILL BE DOING  OUR FIRST PATTERN PRINTING PROGRAM SO LET'S START WITH IT !! WE PRINT OUR PATTER IN THIS WAY * * * * * * * * * * * *  * * * * * * * * * * * *  n= int ( input ( "enter the number:..." )) for i in range ( 1 ,n+ 1 ): for j in range ( 1 ,n+ 1 ): print ( "*" , end = " " ) print ( " " ) ACCORDING TO YOUR INPUT THE NUMBER OF ROWS AND COLUMN