I am a beginner python programmer and am trying to figure out how to modify input from a user.
y=raw_input("Enter the date in this format 'yyyy-mm-dd'") #user enters
x=y-2 #I know this isn't how you would do this just trying to show an example of
#what I am attempting.
I am trying to set a second variable x equal whatever date the user enters minus 2 days. I am later trying to pass the second variable in a datetime format in apscheduler. Is there any way to do modify a string like this?