forked from matt-harvey-data/CodeYou_Demos
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile_creator.py
More file actions
37 lines (19 loc) · 774 Bytes
/
Copy pathprofile_creator.py
File metadata and controls
37 lines (19 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
ask_name = "What is your name? "
name = input(ask_name)
print(name)
ask_purpose = "Why did you decide to join Code Louisville? "
purpose = input(ask_purpose)
print(purpose)
ask_hobbies = "What are you interested in outside of programming? "
hobbies = input(ask_hobbies)
print(hobbies)
ask_goals = "What do you aspire to achieve with your new programming skills? "
goals = input(ask_goals)
print(goals)
ask_motivator = "What prompted you to set this goal? "
motivator = input(ask_motivator)
print(motivator)
f = open("profile.txt", "r+")
f.write(ask_name + "\n\n" + name + "\n\n" + ask_purpose + "\n\n" + purpose + "\n\n" + ask_hobbies + "\n\n" + hobbies + "\n\n" +
ask_goals + "\n\n" + goals + "\n\n" + ask_motivator + "\n\n" + motivator)
f.close()