Message from Python discussions

December 2018

— Example

masked = '****-11-12'
string_list = masked.split("-")
# ['****', '11', '12']


If ... not true
return false
elif ... not true
return false
elif ... not true
return fslse
else :
return true

— What does this mean?

— Thanks i''ll try

— 👍

— monospace

— Sometimes the best solution is the simple one, no need for overcomplicated logic if you can solve it in a simple way

Message permanent page

— Yes True 😊

— I can’t wait to start my undergraduate degree in CS

— Good luck

— How i can get specified of list by slicing?
I have data from html and i need link but just one.
html = """
<div class="lineone">
<div class="linetwo">
<div class="liner"><div class="name">Some title</div><div class="listlink"><b>LINK</b><p><a href="">Named</a> <a href="">named1</a> <a href="">named3</a> <a href="">named4</a></p></div>

i just need one link by one named
e.g named3

Message permanent page

— is also an amazing place to learn python as well machine learning and data science

Message permanent page