python - Read each line in a text file, store the values in a list, and compute scores -


read each line in text file, store values in list, , compute scores

the best approach problem list functions need task. typical example is:

  1. read file.
  2. read list.
  3. take list , each string delimited space.
  4. store string array. ...

then go python website , lookup how each function.

example: input , output function in python:

https://docs.python.org/2/tutorial/inputoutput.html

also, can function asking google. google point answers questions:

q: how find mean of list? a: finding average of list

if enough times, able write problem solves problem listed.

good luck!


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -