Python-TheNoTheoryGuide
Python-TheNoTheoryGuide copied to clipboard
Jupyter NoteBooks to get you boosted with the basics of python with hands-on-practice.
# Multiple arguments def add_sub(add_two_to_this, sub_two_from_this): print ("Added 2 to : " + str(add_two_to_this)) print ("Answer: " + str(int(add_two_to_this)+2)) print ("Subtracted 3 from : " + str(sub_two_from_this)) print ("Answer: "...
``` # Let's see the conditionals available v1 = "Jennifer" v2 = "Python" v3 = 45 v4 = 67 v5 = 45 # Test for equality print (v1 == v2)...
Hi, the comparison between strings "Jennifer" > "Python" results in "False" but your comment suggests it is true. Why is that? 
`print (np.arange(10, 100, 10)) # start=5 | stop=100 | step=10` to `print (np.arange(10, 100, 10)) # start=10 | stop=100 | step=10`