Comments on: Python If Statements Explained (Python for Data Science Basics #4) https://data36.com/python-if-statements-explained-data-science-basics/ Learn Data Science the Hard Way! Mon, 04 Apr 2022 09:34:49 +0000 hourly 1 https://wordpress.org/?v=6.7.4 By: Tomi Mester https://data36.com/python-if-statements-explained-data-science-basics/#comment-190913 Mon, 19 Oct 2020 20:23:54 +0000 https://data36.com/?p=1516#comment-190913 In reply to VJ.

cheers!

]]>
By: Tomi Mester https://data36.com/python-if-statements-explained-data-science-basics/#comment-190641 Sun, 04 Oct 2020 21:02:34 +0000 https://data36.com/?p=1516#comment-190641 In reply to Vinay Suresh.

Thanks a lot for the kind words –» and especially for the alternative solution!
Enjoy the rest of the blog!

Tomi

]]>
By: Vinay Suresh https://data36.com/python-if-statements-explained-data-science-basics/#comment-185895 Fri, 18 Sep 2020 15:41:12 +0000 https://data36.com/?p=1516#comment-185895 I found an interesting alternative to the solution

x = 918652728452151
a = abs(x/17)
b = abs(x/13)
if (round(a) - a) == 0 and len(str(x)) > 12:
	print ('super17')
elif (round(b) - b) == 0 and len(str(x)) > 10:
	print ('awesome13')
else:
	print ('meh, this is just an average random number')

I didnt know about % as I skipped that section. But I thought of sharing my solution.
Brilliant tutorials. Love your method of approach. It is quite easy to grasp your explanations.

]]>
By: Python If Statements – Vegibit https://data36.com/python-if-statements-explained-data-science-basics/#comment-116150 Mon, 06 Jan 2020 15:11:00 +0000 https://data36.com/?p=1516#comment-116150 […] Python If Statement Basics (Data 36) […]

]]>
By: Python Syntax Essentials and Best Practices - Data36 https://data36.com/python-if-statements-explained-data-science-basics/#comment-83563 Sat, 03 Aug 2019 18:56:53 +0000 https://data36.com/?p=1516#comment-83563 […] correctly and consistently.Note: I talked about the exact syntax rules governing for loops and if statements in the relevant […]

]]>
By: VJ https://data36.com/python-if-statements-explained-data-science-basics/#comment-69279 Mon, 25 Mar 2019 10:23:25 +0000 https://data36.com/?p=1516#comment-69279 Hi Tomi,

Thank you for explaining in such a simple manner by breaking compound concept into smaller understandable chunks each with suitable example!!

]]>
By: Tomi Mester https://data36.com/python-if-statements-explained-data-science-basics/#comment-33402 Tue, 28 Aug 2018 23:12:01 +0000 https://data36.com/?p=1516#comment-33402 In reply to Ivan.

Thanks Ivan! I’ve just fixed this!

]]>
By: Ivan https://data36.com/python-if-statements-explained-data-science-basics/#comment-33371 Tue, 28 Aug 2018 19:32:33 +0000 https://data36.com/?p=1516#comment-33371 Hey Tomi,
I find no link to the next episode at the end of this one.
Thanks!

]]>
By: Tomi Mester https://data36.com/python-if-statements-explained-data-science-basics/#comment-19460 Thu, 24 May 2018 22:12:12 +0000 https://data36.com/?p=1516#comment-19460 In reply to john schlafly.

Ha! Thanks!

]]>
By: Python Built-in Functions and Methods (Python & Data Science - Basics #3) https://data36.com/python-if-statements-explained-data-science-basics/#comment-19459 Thu, 24 May 2018 22:12:04 +0000 https://data36.com/?p=1516#comment-19459 […] a next step, let’s learn a bit about loops and if statements! Here is the link to continue: LINK. If you don’t want to miss my upcoming articles, video tutorials, webinars, etc. subscribe to my […]

]]>