Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Trouble with "Weather Program" Assignment
Post: RE: Trouble with "Weather Program" Assignment

I included the code line itself because I don't have it in the code from the original post --------------------------------------------------------------------------- Traceback (most recent call last...
sarah_mb_sues Homework 5 9,038 Aug-05-2018, 05:32 PM
    Thread: Trouble with "Weather Program" Assignment
Post: Trouble with "Weather Program" Assignment

Hello, My Module 4 Midterm for Python Fundamentals on edX involves the following instructions: *************************************************** Create a program that: imports and opens a file ...
sarah_mb_sues Homework 5 9,038 Aug-05-2018, 04:29 PM
    Thread: edX "List_o_matic" Program Help
Post: RE: edX "List_o_matic" Program Help

That fixed it, thanks so much!
sarah_mb_sues General Coding Help 2 6,604 Jul-18-2018, 07:20 PM
    Thread: edX "List_o_matic" Program Help
Post: edX "List_o_matic" Program Help

Hello, I have been setting up my code for the "list_o_matic" program for the Module 2 Required Coding assignment, but for some reason I can't the code I have to run properly. The input prompt appears...
sarah_mb_sues General Coding Help 2 6,604 Jul-18-2018, 03:42 PM
    Thread: Help With Coding Assignment
Post: RE: Help With Coding Assignment

I found out how to arrange the code so that it only printed words starting with characters greater than "g," and it is running smoothly now. Thank you so much for your help!
sarah_mb_sues Homework 4 3,668 Jul-10-2018, 05:10 PM
    Thread: Help With Coding Assignment
Post: RE: Help With Coding Assignment

You're right, that is where the trouble is coming from in my code. I don't know how to fix this still, since I tried adding an "elif" statement to check for characters greater than "g," and I reset th...
sarah_mb_sues Homework 4 3,668 Jul-10-2018, 02:11 PM
    Thread: Help With Coding Assignment
Post: Help With Coding Assignment

Hello Everyone, I am having trouble with setting up a loop in my edX coding assignment -- when I run what I have, it produces very bizarre results that are far from what I want. Can someone explai...
sarah_mb_sues Homework 4 3,668 Jul-09-2018, 10:23 PM
    Thread: Trouble with edX Python Final
Post: RE: Trouble with edX Python Final

def adding_report(report = "T"): total = 0 numbers = "\nItems\n" while True: int_or_q = input("Enter an integer, or 'Q' to quit: ") if int_or_q.isdigit(): tota...
sarah_mb_sues Homework 11 13,766 Jun-17-2018, 11:42 PM
    Thread: Trouble with edX Python Final
Post: RE: Trouble with edX Python Final

Thank you! Deleting that line definitely helped it run, it now gives me the input prompt and I'm able to get the integers in. I still get this issue though whenever I try to quit by entering 'Q' Trac...
sarah_mb_sues Homework 11 13,766 Jun-17-2018, 09:00 PM
    Thread: Trouble with edX Python Final
Post: RE: Trouble with edX Python Final

Okay, like this format? Traceback (most recent call last) <ipython-input-5-49b542a08dca>, line 20, in <module>() TypeError: 'str' object is not callable
sarah_mb_sues Homework 11 13,766 Jun-17-2018, 08:10 PM
    Thread: Trouble with edX Python Final
Post: RE: Trouble with edX Python Final

That does get it to run, thank you! Except now I get the error "str object not callable," and I don't know what it's referring to
sarah_mb_sues Homework 11 13,766 Jun-17-2018, 07:05 PM
    Thread: Trouble with edX Python Final
Post: RE: Trouble with edX Python Final

Do I need to include "A" in defining the function at the beginning? And I tried using "return" after defining the function but it didn't do anything, when would I call it in the code? Thanks!
sarah_mb_sues Homework 11 13,766 Jun-17-2018, 06:46 PM
    Thread: Trouble with edX Python Final
Post: Trouble with edX Python Final

Hello Everyone, I am currently taking the edX course "Introduction to Python: Absolute Beginner" through Microsoft (Course ID DEV236x), and am having trouble getting the code to run for my final assi...
sarah_mb_sues Homework 11 13,766 Jun-17-2018, 06:32 PM

User Panel Messages

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