Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Kiara
Studying Eating Disorders?
I am currently thinking about pursuing a degree in health psychology studying eating disorders (like anorexia and bulimia). However I have been struggling with body dysmorphia/restrictive eating for the past few years. I have never been officially diagnosed but I have all of the associated symptoms.
I want to study eating disorders because they fascinate me and I want to help others similar to me. But I'm not sure if this would be considered an ill advised career choice? Should I be more removed from what I choose to study?
I appreciate any insight/thoughts on the matter!
2 AnswersPsychology4 years agoPython Role Playing Game COde?
See the link to my code below.
I am having trouble with the function combat_round. See the description below. I do not know how to assign the roll scores to each player. Therefore I don't know which player should attack first.
Description:
Outside of the class write a function called combat_round that takes two
parameters. The first is an instance of Fighter. The second is another instance of
Fighter.
i.) The function determines which of the two fighters attacks first for the round by
generating a random integer (use randrange) between 1 and 6 for each fighter:
• If the numbers are equal:
a.) Print the following message:
Simultaneous!
b.) Have each fighter instance call his attack method on the other
fighter (the first fighter in the argument list must attack first to make
the test work correctly)
• If one number is larger:
a.) The fighter with the larger roll attacks first (by calling his attack
method and passing it the fighter being attacked)
b.) If the second fighter survives the attack (call is_alive), he
then attacks the first.
ii.) This function returns nothing.
Programming & Design5 years agoHelp with Classes and Python __repr__ method?
I am trying to code a program to create a simple role playing game for a class assignment.
In my attack method, I need to print the name of an opponent player (other), but I can't seem to print just the opponent name without the extra information (HP: 10) that I defined in the method __repr__.
I cannot create methods other than what I have outlined in my code below.
Link to my code http://codepad.org/umJxAo14
1 AnswerProgramming & Design5 years agoNeed help writing this function in Python!!!!!!!?
The function description is as follows
3.) Write a function called write_converted_csv that takes four parameters. The first is
the name of a file to write. The second is a list of strings (the names of mammals). The
third is a list of floats (weights of mammals in kilograms). The fourth is a list of floats
(brain weights of mammals in grams.)
i.) The function writes a new .csv file (with the given filename) in the same format
as the original “BrainBodyWeightKilos.csv” using the values in the three lists, but
all kilogram values and all gram values should first be converted to pounds, and
names should be in title case. Your conversion factor for converting from
kilograms should be 2.205; from grams it should be 0.0022.
ii.) The floats written to the file should be rounded to 2 decimal places.
The original BrainBodyWeightKilos.csv is seperated like this..
name,brainweight,bodyweight
name,brainweight,bodyweight
So in the csv file for each name it should start on a new line.
Here is a link to my code so far http://codepad.org/CwvmlWMS
The problem I am having is that when I join the new list, i get all of the names/values on one line. I need to figure out how to separate every third element so it starts on a new line for each name.
Thanks!!!
Programming & Design5 years agoNeed help writing this function in Python!?
The function description is as follows
1.) Write a function called find_insert_position that takes two parameters. The first
parameter is a string representing a terrestrial mammal’s name. The second parameter is
a list of strings in alphabetical order.
i.) The function returns an integer indicating the position (index) in the list of
names such that if you inserted the given mammal’s name into the list at that
index the list would still be in alphabetical order.
NOTE: the function does not insert the name, it does not change the names list in any
way. It simply finds and returns the appropriate integer index.
1 AnswerProgramming & Design5 years agoNeed help with Python MAD-LIBS CODE.?
Here is the function description.
i.) For each occurrence of the given part of speech in the given string ask the user
for a word of the appropriate type.
ii.) Replace the part of speech label with the word provided by the user
iii.) After replacing all parts of speech of the indicated type, return the new
version of the given string
- For example, calling the function like this:
replace parts of speech("the NOUN VERB PAST the NOUN", "NOUN")
would ask the user to enter two nouns.
Assuming the user entered “dog” for the first noun and “duck” for the second, the
function would return:
"the dog VERB PAST the duck"
The link to my code is below. The problem I am having is that the last word entered by the user replaces all of the parts of speech, not just the next occurrence. Full solutions appreciated! thanks!
Programming & Design5 years agoShould I date him even if I have to hide it from my friend?
There is this guy that I've known for a few years, we have always been friends and I have known that he has had feelings for me for about a year and a half. He used to be kind of flirty around every girl but since he has liked me he has appeared to tone this down quite a bit. He is more experienced with relationships than I am and he says that he will never ever pressure me into anything and that he will always be there to take care of me. He always makes me laugh and I have such a great time talking to him.
However my best friend doesn't seem to like him at all and says I should stay away from him and stop giving him hope. She thinks he is a player and that he isn't good for me.
I am starting to develop intense feelings for him and I was just wondering if it would be okay to date him even if my friend doesn't approve. I have even considered keeping the whole thing from her considering I have already hung out with him a few times without her knowing.
Please I need help and advice on what my next steps should be! I would truly appreciate it! :)
5 AnswersSingles & Dating7 years agoHow to find the missing values in this log equation?
If a diagram shows a logarithmic function with points (3,0) and (6,1) how do I find the values of a and b in the equation y=logb (x-a).
And what is the value of a+3b
*Note b is the base it is supposed to be subscript.
1 AnswerMathematics9 years agoHow to solve this log equation?
Help with this question please!!
Solve for n.
log (35/30) + log(1.045)^12n = log(1.068)^n
The answers supposed to be 13, but how do I get that???
1 AnswerMathematics9 years agoPre calculus 12 compound interest logarithm question?
Help with this question please!
Mary Ann invested $3500 in a bond at an interest rate of 5.4% per year compounded monthly. Carlos invested $3000 in a G.I.C. at an interest rate of 6.8% per year compounded annually. After how many years will the two investments be approximately equal in value?
1 AnswerMathematics9 years ago