Levels Tought:
Elementary,Middle School,High School,College,University,PHD
Teaching Since: | May 2017 |
Last Sign in: | 190 Weeks Ago, 2 Days Ago |
Questions Answered: | 27237 |
Tutorials Posted: | 27372 |
MCS,MBA(IT), Pursuing PHD
Devry University
Sep-2004 - Aug-2010
Assistant Financial Analyst
NatSteel Holdings Pte Ltd
Aug-2007 - Jul-2017
Hello,Â
I am deaf student. Have hard time with this, and trying to work on for python programming.  Don't know understand how to do this in writing pseudocode. I am hoping you can help.  Thank you.Â
Â
Write a program named program61.py that enables the user to enter any number of celebrity names and write them to a file named celebs.txt. Each name should be written to one line in the file. Pressing Enter when prompted for a celebrity name should end user input and print "File was created and closed" See sample run below in which 5 names were entered, but note that more or fewer names could have been entered.
SAMPLEÂ RUN
Enter celebrity name or Enter to quit Beyonce
Enter celebrity name or Enter to quit Taylor Swift
Enter celebrity name or Enter to quit Drake
Enter celebrity name or Enter to quit Katy Perry
Enter celebrity name or Enter to quit Ludacris
Enter celebrity name or Enter to quitÂ
File was created and closed
----------- He-----------llo----------- Si-----------r/M-----------ada-----------m -----------Tha-----------nk -----------you----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------s. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill-----------