From the course: AI-Powered Software Development: Coding, Testing, and System Design

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Solution: Creating an AI-powered application

Solution: Creating an AI-powered application

(upbeat music) - All right, well, hopefully, you've given this challenge a try. So let's take a look at the solution. And again, the way that I'm gonna do it here is just one of many possible directions you could have taken. So if you have something a little bit different than what I have, that's just fine as long as it does what it was supposed to do. So the first thing here was to get input from the user. And as it happens, I believe I've mentioned this already in this course, this code is actually so simple in Python that it would've been longer for me to write out a prompt to generate this thing than to just write the code myself. So here's what I'm gonna do. I'm just going to say input_email. This is the starting email that we want to have the user copy and paste in. And in Python, you can get input from the user very easily just by saying input and then entering the prompt that we want to display to the user.…

Contents