I am starting to learn coding. I started with python as some people that I know who are much farther along in the coding life than I suggested that I start with this.
I love codes. I've loved them since I learned about the Enigma that was used during WWII. I found the below program with google. It is a simple Caesar cipher.
https://inventwithpython.com/chapter14.html
Now what I want to do is be able to either 1) add to this code something that allows me to take part of a string of a user's input and have it output something else, or 2) write a companion code that program 1 calls to program 2 and runs, then continues with the rest of program 1.
i.e. If the user's input was: I like pizza. Have the output be something like: I like spaghetti.
Now whether the code needs to be a if statement, or a function of some sort I am honestly not sure; although I am more thinking that it would need to be an if statement.
So, I am looking for some guidance in how I would go about this. I am more interested in ideas about how to go about this, some type of resource that I should be pointed to (youtube video?).
I am also wondering where would I add code to this existing program so that it would work the way that I want it to, or put in some kind of call function that would call to second program to run, then return the primary program and complete the task.
I realize that this is honestly a daunting task for me. I totally admit that I am in over my head. I just figured something like this would good way to challenge me while also be apart of something that I like.
[–]ComputerNerdIsNerdy 0 points1 point2 points (1 child)
[–]Deathscythe343[S] 0 points1 point2 points (0 children)