>
> I'm trying with this operator, could it possible?
>
> fruit1 = 'apple'
> fruit2 = 'orange'
>
> fruits = fruit1 or fruit2
>
> is 'orange' = fruits ?
Maybe this:
###
fruit1 = 'apple'
fruit2 = 'orange'
fruits = [fruit1, fruit2]
print 'orange' in fruits# prints the boolean result of 'o
Hi Ros,
I placed two new lines of code in your choices 2
and 7. The new lines have comments trailing them.
In choice 7, you forgot to delete the previous
father_son pair (as you had done in choice 5).
Regards,
Charles
###
# list all fathers elif choice ==
"2": p
Hi,
I'm a Python newbie, but I went over the code, and
I think the problem is in choice number 2.
###
for father_son in
father_son:
print father_son###
father_son becomes a string here.
Regards,
Charles B.
- Original Message -
From:
Ros
Dani