Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: missing 1 required positional argument
Post: RE: missing 1 required positional argument

Buran, Poor word choice on my part - I didn't see how the function named "limit" wasn't being called down as an argument in line 13. I'm new to coding in general and newer still to this forum - I'll...
jedmond2 Homework 4 6,691 Sep-19-2019, 12:22 AM
    Thread: missing 1 required positional argument
Post: missing 1 required positional argument

I'm trying to debug this and I'm not seeing where "limit" is not being called into "play_game" #!/usr/bin/env python3 import random def display_title(): print("Guess the number!") print() ...
jedmond2 Homework 4 6,691 Sep-18-2019, 03:51 AM
    Thread: Resolving unsupported operand type +=: 'int' and 'str'
Post: RE: Resolving unsupported operand type +=: 'int' a...

Thank you for the assistance! Here is the correct code #!/usr/bin/env python3 def get_cost(): total_cost = 0 print("ENTER ITEMS (ENTER 0 TO END)") while True: cost = float(inpu...
jedmond2 Homework 4 6,383 Sep-10-2019, 05:04 PM
    Thread: Resolving unsupported operand type +=: 'int' and 'str'
Post: RE: Resolving unsupported operand type +=: 'int' a...

In order to get the output I'm looking for I need it to be able to show decimals. I'm trying to make total_cost all string so that I can round it to two decimals.
jedmond2 Homework 4 6,383 Sep-10-2019, 03:20 PM
    Thread: Resolving unsupported operand type +=: 'int' and 'str'
Post: Resolving unsupported operand type +=: 'int' and '...

Very new to programming here and this is a homework question. The output I'm trying to generate looks as follows: ENTER ITEMS (ENTER 0 TO END) Cost of item: 152.50 Cost of item: 59.80 Cost of item: ...
jedmond2 Homework 4 6,383 Sep-10-2019, 02:53 PM

User Panel Messages

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