Posts

Python Na Ennada Video No:20 Source Code ( How to Write a txt File Using Python

  from  sys  import  argv script, filename  = argv print ( f 'we are going to erase ok  { filename } ' ) input ( "?" ) print ( "opening the file ...." ) target =  open (filename,  'w' ) print ( "Truncating the file. goodbye!" ) target.truncate() print ( 'now i am going to ask you you for three lines' ) line1 =  input ( "line 1:  " ) line2 =  input ( "line 2:   " ) line3 =  input ( "line 3:   " ) print ( "i am going to write these to the file ." ) target.write(line1) target.write( " \n " ) target.write(line2) target.write( " \n " ) target.write(line3) target.write( " \n " ) print ( " and finally , we close it." ) target.close()

Java Script Na Ennada Series Video No : 9 Code

  <! DOCTYPE   html > < html   lang = "en" > < head >      < meta   charset = "UTF-8" >      < meta   http-equiv = "X-UA-Compatible"   content = "IE=edge" >      < meta   name = "viewport"   content = "width=device-width, initial-scale=1.0" >      < title > Document </ title > </ head > < body >      < script >     x = 1 ; y = 2 ; alert(x+y); alert(x-y); alert(x*y); alert(x/y); alert(x%y);             </ script > </ body > </ html >

Python Na Ennada Series Video NO: 19

  S =  'ABCDEFGHI' print(S[ 7 : 8 ])   

Java Script Na Ennada No : 8 Source Code

  <! DOCTYPE   html > < html   lang = "en" > < head >      < meta   charset = "UTF-8" >      < meta   http-equiv = "X-UA-Compatible"   content = "IE=edge" >      < meta   name = "viewport"   content = "width=device-width, initial-scale=1.0" >      < title > Document </ title > </ head > < body >      < script >       let   kk  =  55         const   jj  =  55          alert ( jj );              // hi = 1 , hi++ alert --> 2              // hi = 1 , hi-- alert --> 0             kk ++          alert ( kk ++);           kk --          alert ( kk --);                </ script > </ body > </ html >

Python Na Ennada : 19 Source Code

  '''kk = "HI , KK" print(kk.lower()) print(kk.upper()) a = "                    Hello, kk! " print(a.strip()) print(kk.replace('HI', 'bye'))''' kketworks =  'youtube channel' print (kketworks.upper()) print (kketworks.lower()) print (kketworks.replace( 'channel' ,  'CHANNEL' ))

PYTHON NA ENNADA VIDEO NO 18 SOURCE CODE

Image
  from  sys  import  argv script,username = argv promt =  '>' print ( f 'Hi  { username } , i am the  { script }  script' ) print ( 'ongakita some questions kekanum' ) print ( f 'ongalukku kk network theriyuma { username } ' ) theriyuma =  input (promt) print ( f 'kk networks la python playlist video laam paathuteengaa { username } ' ) paathuteengala =  input (promt) print ( f 'paakala na seekiram paathurunga illana adutha video puriyaathu  { username } ' ) print ( f 'so ongalukku kk network ah' ,theriyuma, 'neenga playlist laam' ,paathuteengala)

PYTHON NA ENNADA VIDEO NO:1

  from  sys  import  argv script,kk = argv kk =  open (kk) print (kk.read())