No products in the cart.

write a python program to append …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

write a python program to append details of n employees to text files
  • 1 answers

Milind Pandey 3 years, 9 months ago

#storing n number of employees in text file. n=int(input("Enter number of employees are::")) ##your text file name in the place of __ remove dash and write the correct name of the file. a=open("___","a") print("now Enter your employees name one by one") for i in range(n): a.write(input("Enter employee name::")) a.close()
http://mycbseguide.com/examin8/

Related Questions

What are called tokens
  • 2 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App