Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.99 KB | None | 0 0
  1. participant_code = input("What is your participant code?")
  2. file = open("Responses.txt", "w")
  3. file.write(participant_code + "\n")
  4. partner_code = 1
  5. print("IF YOU PREFER NOT TO RESPOND TO A PARTICULAR QUESTION, RESPOND WITH '0'")
  6. print("Please answer the following questions honestly")
  7. print("What is your gender?")
  8. P1_gender = input("Enter M or F: ")
  9. file.write(P1_gender + "\n")
  10. P1_age = input("What is your age?: ")
  11. file.write(P1_age + "\n")
  12. P1_ethnicity = input("What is your ethnicity?: ")
  13. file.write(P1_ethnicity + "\n")
  14. P1_marriage = input("Do you plan on getting married someday? \n 1 = Definitely not \n 2 = Probably not \n 3 = Maybe/Unsure \n 4 = Probably \n 5 = Definitely \n ")
  15. file.write(P1_marriage + "\n")
  16. P1_children = input("Do you plan to have children someday? \n 1 = Definitely not \n 2 = Probably not \n 3 = Maybe/Unsure \n 4 = Probably \n 5 = Definitely \n ")
  17. file.write(P1_children + "\n")
  18. P1_importance_of_sex = input("How important is sex to you in a relationship? \n 1 = Not at all important \n 2 = A little important \n 3 = Somewhat important \n 4 = Very Important \n 5 = Extremely Important \n")
  19. file.write(P1_importance_of_sex + "\n")
  20. P1_alcohol_frequency = input("How often do you prefer to drink alcohol? \n 1 = Never \n 2 = A few times a year \n 3 = A few times a month \n 4 = Once a week \n 5 = Daily \n")
  21. file.write(P1_alcohol_frequency + "\n")
  22. P1_novelty_seeking = input("How much do you typically enjoy trying new things? \n 1 = Nearly always dislike \n 2 = Usually dislike \n 3 = It depends \n 4 = Usually enjoy \n 5 = Nearly always enjoy \n")
  23. file.write(P1_novelty_seeking + "\n")
  24. P1_Communication = input("When you have a disagreement with someone, how soon do you prefer to discuss it with them? \n 1 = Never discuss \n 2 = Discuss eventually, if problem does not resolve on its own \n 3 = Discuss soon, after brief cooling off \n 4 = Discuss immediately \n ")
  25. file.write(P1_Communication + "\n")
  26. P1_Home_tidiness = input("How tidy do you typically keep your home? \n 1 = Very messy \n 2 = Somewhat Messy \n 3 = Neither messy nor tidy \n 4 = Somewhat tidy \n 5 = Very tidy \n")
  27. file.write(P1_Home_tidiness + "\n")
  28. P1_Religiosity = input("How religious are you? \n 1 = Not at all religious \n 2 = A little bit religious \n 3 = Somewhat religious \n 4 = Quite relgious \n 4 = Deeply religious \n")
  29. file.write(P1_Religiosity + "\n")
  30. P1_Likely_to_move_away = input("Do you plan to move out of Ontario someday?\n 1 = Definitely not \n 2 = Probably not \n 3 = Maybe/Unsure \n 4 = Probably \n 5 = Definitely \n ")
  31. file.write(P1_Likely_to_move_away + "\n")
  32. P1_SexFreq = input("What is your ideal sexual frequency in a relationship? \n 1 = Never or almost never \n 2 = Once a month \n 3 = A few times a month \n 4 = Once a week \n 5 = Twice a week \n 6 = A few times a week \n 7 = Daily \n ")
  33. file.write(P1_SexFreq + "\n")
  34. P1_Hobbies = input("What are your favorite hobbies? Please list up to three. \n")
  35. file.write(P1_Hobbies + "\n")
  36. P1_Activity_level = input("How much free time do you spend being active (i.e., out doing things) versus passive (e.g., TV, videogames)? \n 1 = Almost all passive \n 2 = More passive than active \n 3 = 50/50 \n 4 = More active than passive \n 5 = Almost all active \n")
  37. file.write(P1_Activity_level + "\n")
  38. P1_Financial_style = input("When you have extra cash, what do you prefer to do with it? \n 1 = Save it all \n 2 = Save most of it \n 3 = Save some, spend some \n 4 = Spend most of it \n 5 = Spend it all \n")
  39. file.write(P1_Financial_style + "\n")
  40. P1_Cat_attitudes = input("How do you feel about having a pet cat? \n 1 = Extremely negative \n 2 = Somewhat negative \n 3 = Neither positive nor negative \n 4 = Somewhat positive \n 5 = Extremely positive \n")
  41. file.write(P1_Cat_attitudes + "\n")
  42. P1_Political_Orientation = input("What is your political orientation? \n 1 = Extremely Conservative \n 2 = very conservative \n 3 = somewhat conservsative \n 4 = Not conservative nor libeal \n 5 = Somewhat liberal \n 6 = Very liberal \n 7 = Extremely liberal \n ")
  43. file.write(P1_Political_Orientation + "\n")
  44. P1_Urban_rural = input("How urban versus rural is your ideal neighbourhood?\n 1 = Very rural (in the boonies) \n 2 = Somewhat rural (small town) \n 3 = Both (suburbs) \n 4 = Somewhat urban (small city) \n 5 = Very urban (big city)\n ")
  45. file.write(P1_Urban_rural + "\n")
  46. P1_Physical_attraction = input("In a relationship, how important is physical attraction to you? \n 1 = Not at all important \n 2 = Slightly important \n 3 = Moderately important \n 4 = Very important \n 5 = Extremely important \n")
  47. file.write(P1_Physical_attraction + "\n")
  48. P1_marijuana = input("How often do you prefer to use cannabis recreationally? \n 1 = Never \n 2 = A few times a year \n 3 = Once a month \n 4 = A few times a month \n 5 = Once a week \n 6 = A few times a week \n 7 = Daily \n")
  49. file.write(P1_marijuana + "\n")
  50. P1_jealousy = input("Do you consider yourself to be a jealous person, romantically? \n 1 = Never jealous \n 2 = Rarely jealous \n 3 = Sometimes jealous \n 4 = Often jealous \n 5 = Always jealous \n")
  51. file.write(P1_jealousy + "\n")
  52. P1_Division_of_labour = input("How important is it to you tht household tasks are equally shared in a relationship? \n 1 = Not at all important \n 2 = Slightly important \n 3 = Moderately important \n 4 = Very important \n 5 = Extremely important \n")
  53. file.write(P1_Division_of_labour + "\n")
  54. P1_Dog_attitudes = input("How do you feel about having a pet dog? \n 1 = Extremely negative \n 2 = Somewhat negative \n 3 = Neither positive nor negative \n 4 = Somewhat positive \n 5 = Extremely positive \n")
  55. file.write(P1_Dog_attitudes + "\n")
  56. print("Please inform the research assistant that you have completed task 1")
  57. print("IF YOU PREFER NOT TO RESPOND TO A PARTICULAR QUESTION, RESPOND WITH '0'")
  58. print("Answer the following questions as if your partner might have access to them")
  59. P2_marriage = input("Do you plan on getting married someday? \n 1 = Definitely not \n 2 = Probably not \n 3 = Maybe/Unsure \n 4 = Probably \n 5 = Definitely \n ")
  60. file.write(P2_marriage + "\n")
  61. P2_children = input("Do you plan to have children someday? \n 1 = Definitely not \n 2 = Probably not \n 3 = Maybe/Unsure \n 4 = Probably \n 5 = Definitely \n ")
  62. file.write(P2_children + "\n")
  63. P2_importance_of_sex = input("How important is sex to you in a relationship? \n 1 = Not at all important \n 2 = A little important \n 3 = Somewhat important \n 4 = Very Important \n 5 = Extremely Important \n")
  64. file.write(P2_importance_of_sex + "\n")
  65. P2_alcohol_frequency = input("How often do you prefer to drink alcohol? \n 1 = Never \n 2 = A few times a year \n 3 = A few times a month \n 4 = Once a week \n 5 = Daily \n")
  66. file.write(P2_alcohol_frequency + "\n")
  67. P2_novelty_seeking = input("How much do you typically enjoy trying new things? \n 1 = Nearly always dislike \n 2 = Usually dislike \n 3 = It depends \n 4 = Usually enjoy \n 5 = Nearly always enjoy \n")
  68. file.write(P2_novelty_seeking + "\n")
  69. P2_Communication = input("When you have a disagreement with someone, how soon do you prefer to discuss it with them? \n 1 = Never discuss \n 2 = Discuss eventually, if problem does not resolve on its own \n 3 = Discuss soon, after brief cooling off \n 4 = Discuss immediately \n ")
  70. file.write(P2_Communication + "\n")
  71. P2_Home_tidiness = input("How tidy do you typically keep your home? \n 1 = Very messy \n 2 = Somewhat Messy \n 3 = Neither messy nor tidy \n 4 = Somewhat tidy \n 5 = Very tidy \n")
  72. file.write(P2_Home_tidiness + "\n")
  73. P2_Religiosity = input("How religious are you? \n 1 = Not at all religious \n 2 = A little bit religious \n 3 = Somewhat religious \n 4 = Quite relgious \n 4 = Deeply religious \n")
  74. file.write(P2_Religiosity + "\n")
  75. P2_Likely_to_move_away = input("Do you plan to move out of Ontario someday?\n 1 = Definitely not \n 2 = Probably not \n 3 = Maybe/Unsure \n 4 = Probably \n 5 = Definitely \n ")
  76. file.write(P2_Likely_to_move_away + "\n")
  77. P2_SexFreq = input("What is your ideal sexual frequency in a relationship? \n 1 = Never or almost never \n 2 = Once a month \n 3 = A few times a month \n 4 = Once a week \n 5 = Twice a week \n 6 = A few times a week \n 7 = Daily \n ")
  78. file.write(P2_SexFreq + "\n")
  79. P2_Hobbies = input("What are your favorite hobbies? Please list up to three. \n")
  80. file.write(P2_Hobbies + "\n")
  81. P2_Activity_level = input("How much free time do you spend being active (i.e., out doing things) versus passive (e.g., TV, videogames)? \n 1 = Almost all passive \n 2 = More passive than active \n 3 = 50/50 \n 4 = More active than passive \n 5 = Almost all active \n")
  82. file.write(P2_Activity_level + "\n")
  83. P2_Financial_style = input("When you have extra cash, what do you prefer to do with it? \n 1 = Save it all \n 2 = Save most of it \n 3 = Save some, spend some \n 4 = Spend most of it \n 5 = Spend it all \n")
  84. file.write(P2_Financial_style + "\n")
  85. P2_Cat_attitudes = input("How do you feel about having a pet cat? \n 1 = Extremely negative \n 2 = Somewhat negative \n 3 = Neither positive nor negative \n 4 = Somewhat positive \n 5 = Extremely positive \n")
  86. file.write(P2_Cat_attitudes + "\n")
  87. P2_Political_Orientation = input("What is your political orientation? \n 1 = Extremely Conservative \n 2 = very conservative \n 3 = somewhat conservsative \n 4 = Not conservative nor libeal \n 5 = Somewhat liberal \n 6 = Very liberal \n 7 = Extremely liberal \n ")
  88. file.write(P2_Political_Orientation + "\n")
  89. P2_Urban_rural = input("How urban versus rural is your ideal neighbourhood?\n 1 = Very rural (in the boonies) \n 2 = Somewhat rural (small town) \n 3 = Both (suburbs) \n 4 = Somewhat urban (small city) \n 5 = Very urban (big city)\n ")
  90. file.write(P2_Urban_rural + "\n")
  91. P2_Physical_attraction = input("In a relationship, how important is physical attraction to you? \n 1 = Not at all important \n 2 = Slightly important \n 3 = Moderately important \n 4 = Very important \n 5 = Extremely important \n")
  92. file.write(P2_Physical_attraction + "\n")
  93. P2_marijuana = input("How often do you prefer to use cannabis recreationally? \n 1 = Never \n 2 = A few times a year \n 3 = Once a month \n 4 = A few times a month \n 5 = Once a week \n 6 = A few times a week \n 7 = Daily \n")
  94. file.write(P2_marijuana + "\n")
  95. P2_jealousy = input("Do you consider yourself to be a jealous person, romantically? \n 1 = Never jealous \n 2 = Rarely jealous \n 3 = Sometimes jealous \n 4 = Often jealous \n 5 = Always jealous \n")
  96. file.write(P2_jealousy + "\n")
  97. P2_Division_of_labour = input("How important is it to you tht household tasks are equally shared in a relationship? \n 1 = Not at all important \n 2 = Slightly important \n 3 = Moderately important \n 4 = Very important \n 5 = Extremely important \n")
  98. file.write(P2_Division_of_labour + "\n")
  99. P2_Dog_attitudes = input("How do you feel about having a pet dog? \n 1 = Extremely negative \n 2 = Somewhat negative \n 3 = Neither positive nor negative \n 4 = Somewhat positive \n 5 = Extremely positive \n")
  100. file.write(P2_Dog_attitudes + "\n")
  101. print("Please inform the research assistant that you are finished task 2. Do not touch the mouse or keyboard until you recieve instructions.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement