Sushma added the comment:
Thank you
On Tue, Jan 28, 2020, 6:30 PM Steven D'Aprano
wrote:
>
> Steven D'Aprano added the comment:
>
> The "num" variable is not a number, it *is* a string. Just because you
> call it "num" doesn't magically turn it into a num
Thanks a lot.
But why can't we make output of input also dynamic data assignment.
Thanks & Regards,
Sushma MS
On Tue, Jan 28, 2020, 9:54 PM Mariatta wrote:
> input() returns a string. If you want it to be treated as an int you need
> to cast it, example:
>
> num =int(inpu
ring string formatting
Created the issue:
msg 360865 created
issue 39476 created
--
Thanks & Regards,
-
Sushma
Mob:9740055884
--
https://mail.python.org/mailman/listinfo/python-list
New submission from Sushma :
Hi
Please find below example and the compiler error,
when i'm assigning value dynamically and when we comparing in "if" loop it is
throwing compiler error. It should not throw error it should assign and act as
int why it is thinking as string.
Co
sushma added the comment:
got it - thanks for the detailed explanation! I'll go ahead and create a PR soon
--
___
Python tracker
<https://bugs.python.org/issue37
sushma added the comment:
I guess what I'm wondering is this:
urlsplit(url, scheme='', allow_fragments=True)
Parse a URL into 5 components:
:///?#
Return a 5-tuple: (scheme, netloc, path, query, fragment).
Note that we don't break the components up in smaller bits
(e.g
sushma added the comment:
hello!
I can see that we might want to add documentation for splitting netloc, but I
don't understand why we'd have scheme and netloc, but nothing for path and
query. What are you suggesting we add for scheme/allow_fragements?
Thanks!
--
nosy
sushma added the comment:
Hello,
I'd like to work on this and will take a look.
--
nosy: +syadlapalli
___
Python tracker
<https://bugs.python.org/issue36
sushma added the comment:
Hello!
I added the patch and submitted the PR and ran the test, could you please take
a look?
Also, I see this 3.6
Thanks
--
message_count: 8.0 -> 9.0
nosy: +syadlapalli
nosy_count: 4.0 -> 5.0
pull_requests: +14635
stage: needs patch -> pat
Change by sushma :
--
keywords: +patch
pull_requests: +14286
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/14469
___
Python tracker
<https://bugs.python.org/issu
sushma added the comment:
I'm going to try and contribute this documentation fix.
--
nosy: +syadlapalli
___
Python tracker
<https://bugs.python.org/issue30
11 matches
Mail list logo