I have two strings and one number from user input. I want to make a text file that puts the variables into specific places. I would like it to repeat the number I had specified times. Each time it repeats (integer) one third of the way through the repeating, it would decrease the difficulty level. And each time the line is repeated, the date would go back by one For example, I would want something like this:
text1 = French Test
text2 = 1/19
difficulty_level = (high-3), (medium-2), (low-1)
days_needed_to_study = 7
"Study for "+text1+"^"+text2+"!"+difficulty_level //difficulty level as a string
//this code will repeat days_needed_to_study times, and each time the text2 date decreases by one day.
//the difficulty will also decrease proportional to the days_needed_to_study
The exporting of the text should look like this:
French Test !Low ^1/22
French Test !Medium ^1/23
French Test !High ^1/24
Thanks so much!
Ben
text1 = French Test
text2 = 1/19
difficulty_level = (high-3), (medium-2), (low-1)
days_needed_to_study = 7
"Study for "+text1+"^"+text2+"!"+difficulty_level //difficulty level as a string
//this code will repeat days_needed_to_study times, and each time the text2 date decreases by one day.
//the difficulty will also decrease proportional to the days_needed_to_study
The exporting of the text should look like this:
French Test !Low ^1/22
French Test !Medium ^1/23
French Test !High ^1/24
Thanks so much!
Ben