PYTHON NA ENNADA SERIES CODE NO:15 Get link Facebook X Pinterest Email Other Apps August 06, 2021 from sys import argvkk,jj,ss = argvprint('kk is a',kk)print('jj is the friend of',jj)print('ss is the brother of',ss) Get link Facebook X Pinterest Email Other Apps Comments
Python while loop error and correction July 15, 2022 wrong program correct program wrong program BY Shifan Read more
Python Na Ennada Video No:20 Source Code ( How to Write a txt File Using Python September 26, 2021 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() Read more
Comments
Post a Comment