Skip to content
Permalink
Browse files
testing
  • Loading branch information
milinaum committed Nov 8, 2020
1 parent e77d2d2 commit 903a166a175c12250afa65678a56e45495c19fd2
Showing 1 changed file with 21 additions and 1 deletion.
@@ -1,9 +1,29 @@
#As a user I want to be able to go back and see what my music tastes were previously

#Tasks

import datetime
#Take User input (name, music preferences, timestamp and date stamp)

def pref():
file = open("test.txt","w")
user_choice = input("Enter your favorite song: ")
file.write(user_choice)
file.close()
file1 = open("pref.txt","w")
music_preference = input ("Tell me your favorite music genre: ")
file1.write(music_preference)
file1.close()
#file2 = open("date.txt", "w")

pref()


#today_date = datetime.datetime.now()
#print(today_date)

#song_name = input("Enter the name of a song: ")
#print("the song is called: ",song_name)


#Store the inputs in a text file

0 comments on commit 903a166

Please sign in to comment.