From the course: Cloud Native Projects: Azure Serverless

Unlock the full course today

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

Challenge: Python

Challenge: Python

(lively music) - [Instructor] So now it's time for our first challenge exercise for this course. We will use Python for this challenge. Now, here's the steps to the challenge that I want you to execute on. I want you to create a simple Python template. Of course, if you want to start from scratch, instead of using Visual Studio Code, you're more than welcome to. I'm going to use Visual Studio Code in my solution just because it's a lot easier with Azure serverless functions. You're going to create a simple coin flip program. The purpose of this program is to take an input for the number of flips and to output the number of heads and the number of tails. It's a pretty simple interview type program. The idea being that we are going to execute it remotely using our serverless function. Again, input the number of flips. I do want you to make sure that you fully randomize your results. So don't just do heads on the first…

Contents