Thread: Flowchart Help

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Posts
    1
    Rep Power
    0

    Flowchart Help


    I am doing my final project for my python programming class. I need some help just with the first part of this flowchart. The rest of the flowchart is cake but I am stuck at the beginning. I am getting the information from a .dat file. I'm not asking for the solution just the first step, please.

    Thr flow chart I am currently on is the "calcPointEarned"
    Full flowchart: https:// docs. google. com/file/d/0B7ECg6bkIn2FUUdfNEY1cXNyM2M/edit?usp=sharing
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,966
    Rep Power
    481
    Code:
    def calcPointEarned(hwkgrades:list, examgrades:list)->float:
        '''
            Compute points earned as a fraction of possible
            points found in the global variable possiblepoints .
            Run doctests with command
            ShellPrompt> python3 -m doctest thisfile.py
    
            >>> calcPointEarned([0], [0])
            0.0
        '''
    There's a start. The rest is "cake".
    [code]Code tags[/code] are essential for python code and Makefiles!

IMN logo majestic logo threadwatch logo seochat tools logo