[Beginner] Spliting input

2020-06-25 Thread Bischoop
I try to split input numbers, for example: 12 so I cant add them, I tried separated split(' ') but it's not working. Any ideas how to do this? * numb1,numb2=input("enter 1st and 2nd no ").split() Avg=(int(numb1) + int(numb2)) / 2 print(Avg) * -- Thanks -- https://mail.python.org/mailman/listinf

Re: [Beginner] Spliting input

2020-06-25 Thread Andrew Bell
Without knowing the problem you're having, it's hard to answer. This seems generally correct. On Thu, Jun 25, 2020 at 7:57 AM Bischoop wrote: > I try to split input numbers, for example: 12 so I cant add them, I > tried separated split(' ') but it's not working. > Any ideas how to do this? > > *

Re: [Beginner] Spliting input

2020-06-25 Thread Bischoop
On 2020-06-25, Andrew Bell wrote: > Without knowing the problem you're having, it's hard to answer. > This seems generally correct. > > Error track: Traceback (most recent call last): File "splitting.py", line 1, in numb1,numb2=input("enter 1st and 2nd no ").split() ValueError: not

Re: [Beginner] Spliting input

2020-06-25 Thread Frank Millman
On 2020-06-25 2:13 PM, Bischoop wrote: On 2020-06-25, Andrew Bell wrote: Without knowing the problem you're having, it's hard to answer. This seems generally correct. Error track: Traceback (most recent call last): File "splitting.py", line 1, in numb1,numb2=input("enter 1st and 2

Re: [Beginner] Spliting input

2020-06-25 Thread Peter Otten
Bischoop wrote: > I try to split input numbers, for example: 12 so I cant add them, I > tried separated split(' ') but it's not working. > Any ideas how to do this? > > * > numb1,numb2=input("enter 1st and 2nd no ").split() > Avg=(int(numb1) + int(numb2)) / 2 > print(Avg) > * > > -- > Thanks To

Re: Pycharm offers only implementation of an abstract getter but not an abstract setter

2020-06-25 Thread Rhodri James
On 24/06/2020 22:46, zljubi...@gmail.com wrote: Why Pycharm didn't offer a setter as well as getter? This is a general Python mailing list. If you have specific questions/complaints about PyCharm, they are probably better addressed directly to the makers of PyCharm. -- Rhodri James *-* Kyn

Re: Pycharm offers only implementation of an abstract getter but not an abstract setter

2020-06-25 Thread zljubisic
You can freely leave Pycharm out of equation. In that case, there is a question how to force subclass to implement setter method? -- https://mail.python.org/mailman/listinfo/python-list

Re: Pycharm Won't Do Long Underscore

2020-06-25 Thread Michael Torrie
On 6/24/20 7:38 PM, Grant Edwards wrote: > On 2020-06-24, Peter J. Holzer wrote: > >> There is U+FF3F Fullwidth Low Line. >> >>> If there were, Python would not know what to do with it >> >> You can use it in variable names, but not at the beginning, and it isn't >> equivalent to two underscores,

Re: [Beginner] Spliting input

2020-06-25 Thread Andrew Jaffe
Hi, On 25/06/2020 12:50, Bischoop wrote: I try to split input numbers, for example: 12 so I cant add them, I tried separated split(' ') but it's not working. Any ideas how to do this? * numb1,numb2=input("enter 1st and 2nd no ").split() Avg=(int(numb1) + int(numb2)) / 2 print(Avg) So, this i

Re: [Python-ideas] asyncio: return from multiple coroutines

2020-06-25 Thread Kyle Stanley
(Resending this email since it didn't originally go through to python-list, sorry for the duplicate Pablo) > Yes, I want to have multiple results: the connections listening forever, > returning a result for each message received. > I forgot to mention thatI did try to use asyncio.wait with `FIRS

I need to study Python

2020-06-25 Thread sinanpv22
Hey, I'm a completely noob. I want to learn python, how can i or where can i study python? -- https://mail.python.org/mailman/listinfo/python-list

Re: I need to study Python

2020-06-25 Thread Igor Korot
Hi, Just sign-up for a local community college. Will be easier and u will keep motivation... Thank you. On Thu, Jun 25, 2020, 6:49 PM wrote: > Hey, I'm a completely noob. > I want to learn python, how can i or where can i study python? > -- > https://mail.python.org/mailman/listinfo/python-lis

Regarding error code 9

2020-06-25 Thread Manikandan S
Sir/Mam; While installing matplotlib in python i face this issue that it shows error : erro no 9 please reply with some solution for this error i am beginner so please explain in detail about this error and guide me to fix this error. Thank you -- https