Quick Help

K

kjakupak

Just need a bit of help understanding this so I can actually start it.

The input to a program will come from a file called "asdf.in". This file will have all the info needed for the course. The formatting of the input file is described as follows, with <bs> denoting # of white spaces and <n bs> denoting n white spaces.

Title<bs>:<bs><number>
Title<bs>:<bs><info>
etc..

Is it asking me to make an input file with all of that info (like it is above), or to have an info file actually filled with all that information filled out? Because I then need to have the program be able to output info in certain formats that come from that input file.
 
G

Gary Herron

Just need a bit of help understanding this so I can actually start it.

The input to a program will come from a file called "asdf.in". This file will have all the info needed for the course. The formatting of the input file is described as follows, with <bs> denoting # of white spaces and <n bs> denoting n white spaces.

Title<bs>:<bs><number>
Title<bs>:<bs><info>
etc..

Is it asking me to make an input file with all of that info (like it is above), or to have an info file actually filled with all that information filled out? Because I then need to have the program be able to output info in certain formats that come from that input file.


It makes no sense to ask us to guess what your teacher wants. Please ask
the teacher.

Once you know what the assignment expects, you may ask us Python
questions, because we can answer those without guessing. (But don't ask
us to write the program for you.)

Gary Herron
 
C

Cameron Simpson

Just need a bit of help understanding this so I can actually start it.

The input to a program will come from a file called "asdf.in". This file will have all the info needed for the course. The formatting of the input file is described as follows, with <bs> denoting # of white spaces and <n bs> denoting n white spaces.

Title<bs>:<bs><number>
Title<bs>:<bs><info>
etc..

Is it asking me to make an input file with all of that info (like it is above), or to have an info file actually filled with all that information filled out? Because I then need to have the program be able to output info in certain formats that come from that input file.

I would read this as saying that the your program must understand
an input file of the format described above.

If your teacher has not given you some example file, you will need
to hand-make some files to use as input files to test your program.

BTW, your subject: line is not very good. All questions want "help".
Don't change the subject line for this discussion, but in future,
try to make it more descriptive. For example:
"what does this task specification mean?" Maybe.

Cheers,
--
Cameron Simpson <[email protected]>

Copies of ACM publications are filling library self space so rapidly that
shelf boundaries will soon be expanding faster that the speed of light.
But Special Relativity is not violated, as no information is being propagated.
- Howard E. Motteler, <[email protected]>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,778
Messages
2,569,605
Members
45,238
Latest member
Top CryptoPodcasts

Latest Threads

Top