Python Forum
Coding problem portfolio grade
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Coding problem portfolio grade
#1
   
   

Hello all, I’m a beginner and I’m looking to execute the following code. I have my associated excel file with basic column A name and column B emissions. I have the impression that the code does not manage to read the file well. I need the code to return a note. But total emission is =0. Does anyone have an idea? The result should be here total emssion=5029.5 and the program should return D-
Thanks Smile
Reply
#2
First convert the code from an image to code (text with proper indentation) then, with refernece to BBCode, post in python tags. Use the "Preview Post" button to make sure the code is presented as you expect it to be.

Secondly, please make an attempt at running the code yourself, and fixing any errors found along the way.
Please read Homework and No Effort Questions.
max70990 likes this post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Portfolio Optimization code error i want to cry FinanceMotta 3 524 Mar-11-2024, 10:24 PM
Last Post: deanhystad
  Armachat coding problem gad969 4 1,366 Mar-12-2023, 03:12 PM
Last Post: gad969
  coding problem from older book teddfirth 3 2,197 Mar-06-2021, 03:51 PM
Last Post: teddfirth
  Cant get grade part of code to work correctly Expel 5 2,721 Jul-10-2019, 05:09 AM
Last Post: perfringo
  Begginer coding problem wiktor 2 3,275 Jan-26-2018, 06:24 PM
Last Post: wiktor
  IR coding problem DPaul 3 2,817 Jan-09-2018, 08:02 AM
Last Post: DPaul
  Grade System Help jamisontboyd 3 3,643 Oct-03-2017, 11:11 PM
Last Post: ichabod801
  new user coding problem mattkrebs 1 3,063 Mar-21-2017, 12:45 PM
Last Post: buran
  Coding problem VISHU 3 4,883 Mar-16-2017, 06:54 AM
Last Post: Larz60+
  Incredibly basic coding problem AndyF 12 8,616 Feb-11-2017, 03:52 PM
Last Post: AndyF

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020