Well, my understanding is that function are used in procedural programmming
to make the code reusable, and to divide the bigger problem in a serie of
smaller ones.
Methods are used in OOP, and mainly are the actions taht objects can
perform.
Thay have a very similar syntax in python, but the conc
Hello,
I'm quite new on python, so don't hit too hard if I'm wrong ;)
A question on the logic... Does this means
if roll[0] > 15:
if roll[1] >= 2:
print("Success")
elif roll[2] >= 2:
print("Critical failure!")
that rolling multiple 1's get the priority on rolling multiple
asad | JPMorgan Chase Investment Bank | Currencies Technology
> 712 Main Street | Houston, TX 77002
> work phone: 713 - 216 - 5423
>
>
> From: tutor-bounces+ramit.prasad=jpmorgan@python.org
> [mailto:tutor-bounces+ramit.prasad=jpmorgan@python.org] On Behalf Of
> T