Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: In need help to put this code in order
Post: RE: In need help to put this code in order

(Apr-10-2019, 06:37 AM)j.crater Wrote: Hello, for starters def Gos_Erlang(A,C): This function does not return any value, which is ok, but the problem would be line #17 - gos d (which by the way is n...
lekuru01 Homework 4 3,059 Apr-10-2019, 05:24 PM
    Thread: In need help to put this code in order
Post: In need help to put this code in order

write a python functionn GOS_erlang(chanels,capacity) that computes the grade of service for a give number of (interger) channels and (floating point) capacity using the Erlang B formula. write a seco...
lekuru01 Homework 4 3,059 Apr-10-2019, 03:18 AM
    Thread: Compution
Post: Compution

Good evening everyone, i m trying to compute GCD and LCM of n numbers and i can only do GCD and LCM for two integer numbers. I need your help and/or direction on this problem. while True: x=int(i...
lekuru01 Homework 1 1,797 Apr-02-2019, 12:47 AM
    Thread: Split String
Post: RE: Split String

(Mar-19-2019, 06:41 AM)lekuru01 Wrote: (Mar-19-2019, 02:19 AM)Larz60+ Wrote: several ways to do this, a few below g = g + 'more text' if python 3.6 or newer: g = f'{g} more text' Again, thank you ...
lekuru01 Homework 6 3,396 Mar-19-2019, 10:42 AM
    Thread: Split String
Post: RE: Split String

(Mar-19-2019, 02:19 AM)Larz60+ Wrote: several ways to do this, a few below g = g + 'more text' if python 3.6 or newer: g = f'{g} more text' Again, thank you for your response, but I am not sure If I...
lekuru01 Homework 6 3,396 Mar-19-2019, 06:41 AM
    Thread: Split String
Post: RE: Split String

(Mar-16-2019, 07:58 AM)Larz60+ Wrote: need closing quote on line 1 first split on '!' which will give you a list with two cells split each cell on space g1 = g[0].split() same for g[1] append '!' to...
lekuru01 Homework 6 3,396 Mar-18-2019, 11:44 PM
    Thread: Split String
Post: Split String

i am new to python and i am trying to get a better understanding on how to manipulate strings. Here is my program; g='Hello world! What is your name? print(g) g.split(' ') print(g.split())How to do i ...
lekuru01 Homework 6 3,396 Mar-16-2019, 03:07 AM

User Panel Messages

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