Skip to main content

Art Integrated Project Odisha | Science

Comments

  1. Very informative but not helpful☹

    ReplyDelete
    Replies
    1. import csv
      f1 = open('data.csv', 'w', newline='')00
      def writepass():
      wo = csv.writer(f1)
      for i in range(3):
      uid= input('enter id:')
      passs = input('pass:')
      wo.writerow([uid, passs])
      f1.close()

      def readpass():
      f1=open("data.csv","r")
      a= csv.reader(f1)
      found=0
      newlist=[]
      x=input("enter the password to be updated")
      for i in a:
      if i[0]==x:
      print(i)
      i[1]=input("Enter new password")
      print("new password",i)
      found=1
      newlist.append(i)
      if found ==0:
      print('not found')
      else:
      f1=open('data.csv', 'w',newline='')
      wo = csv.writer(f1)
      wo.writerows(newlist)
      f1.close()
      writepass()
      readpass()

      Delete

Post a Comment

If you think that you comment is important and should reach to the author, then click on "Notify Me" check box.

Popular posts from this blog

101% Working Filo Premium Invite link - to get INSTANT 10% OFF || Canis Great

Check out this Filo Premium Invite link to get instant 10% off on your premium purchase. ****** Due to Filo Policies, any premium link is only applicable for 10-12 day after it is generated Therefore, if anyone wants filo premium invite link then comment below, I will be providing the link with the code. Make sure you click on the "Notify Me" check box before publishing your comment. After that, you can use the link or directly use the code. ****** Subscribe to Canis Great.