Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Writing an Adder in python 3?
Post: Writing an Adder in python 3?

So i need to white an Adder REPL. Instructions are as follows: quit: Exit the REPL or terminate a program. input var: Prompt for and allow the user to enter a value for the variable named var print...
edwdas General Coding Help 1 2,142 Nov-11-2019, 03:33 PM
    Thread: Need help returning min() value of list?
Post: RE: Need help returning min() value of list?

Sorry for the confusion posted this a little late. So what i need is for lst to store user input of multiple numbers in one line e.g. the user should be able to input 8 7 6 5 4 3 2 1 in one line with ...
edwdas General Coding Help 3 2,073 Nov-10-2019, 08:41 PM
    Thread: Need help returning min() value of list?
Post: Need help returning min() value of list?

Howdy, I have a feeling that my issue lies within my second function. The Max function works for returning the single highest digit however the min function returns a blank value lst = [] def sor...
edwdas General Coding Help 3 2,073 Nov-10-2019, 04:10 PM
    Thread: Palindrome checker case sensive
Post: Palindrome checker case sensive

Hello, Got a task to make a palindrome checker for user input now my script so far works UNLESS the first there is a cApiTal letter in it. E.g. Abba will return a negative palindrome while abba will ...
edwdas Homework 3 2,637 Nov-05-2019, 03:16 PM
    Thread: Think my math is wrong?
Post: RE: Think my math is wrong?

How would one do this? tried slipping in a cheeky l = [int(lst) for lst in l] directly above the lst.append but that seemed to cause more issues (Nov-05-2019, 02:56 PM)buran Wrote: With even num...
edwdas General Coding Help 3 1,756 Nov-05-2019, 02:58 PM
    Thread: Think my math is wrong?
Post: Think my math is wrong?

So I'm trying to calculate the median from inputs (int) that a user submits WITHOUT using a statistics module (just want to see how it can be done) Current function to find the median looks like this...
edwdas General Coding Help 3 1,756 Nov-05-2019, 02:40 PM
    Thread: Assistance with making functions
Post: Assistance with making functions

Howdy, this is not homework rather I want to know if its possible regardless of how inefficient the process is. Im attempting to create a function that checks if a string contains a digit and if it do...
edwdas General Coding Help 4 2,404 Nov-04-2019, 04:03 PM
    Thread: Print the longest str from user input
Post: RE: Print the longest str from user input

Thanks a bunch. I'm assuming that i need an initial input to declare answer? (my IDE otherwise states its undeclared. Furthermore apparently line 2 a : is expected even though its present?
edwdas Homework 5 4,147 Nov-04-2019, 12:51 PM
    Thread: Print the longest str from user input
Post: RE: Print the longest str from user input

Sorry i am very new and very confused. What would that actually look like in my script?
edwdas Homework 5 4,147 Nov-04-2019, 10:44 AM
    Thread: Print the longest str from user input
Post: Print the longest str from user input

Essentially, the user inputs random strings and i am trying to reprint the longest string that the user input (so far it only prints the first non-capital letter). A bit lost on how to fix this. loop...
edwdas Homework 5 4,147 Nov-04-2019, 09:42 AM
    Thread: Help on question about buses
Post: RE: Help on question about buses

Correct assumption, didn't notice sorry only been doing python for 2 days LOL!. so what would be the most appropriate fix for this?
edwdas Homework 5 3,235 Oct-31-2019, 12:10 AM
    Thread: Help on question about buses
Post: RE: Help on question about buses

(Oct-30-2019, 11:58 PM)jefsummers Wrote: If I enter 100 for the number of passengers, do you ever decrement passengers or does it always stay 100 and always in your while loop? I essentially just ne...
edwdas Homework 5 3,235 Oct-31-2019, 12:00 AM
    Thread: Help on question about buses
Post: Help on question about buses

Hello, So the purpose of this script is to take an input of passengers and calculate the cheapest cost of required buses. BigBus takes 48 passengers and small bus takes 10. E.g. 50 people would be 1 ...
edwdas Homework 5 3,235 Oct-30-2019, 11:47 PM

User Panel Messages

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