From the course: Cloud Native Projects: GCP Serverless
Unlock this course with a free trial
Join today to access over 25,400 courses taught by industry experts.
Challenge: Python - Google Cloud Platform Tutorial
From the course: Cloud Native Projects: GCP Serverless
Challenge: Python
(upbeat music) - [Instructor] So now it's time for our first challenge exercise for this course. We're going to use Python for this challenge. So here's the steps that I would like you to execute. First and foremost, I want you to create a simple Python file on your machine. Now, of course, you can do this in the browser, but I want to see you go through the documentation and figure out how to upload this file, so I'm going to encourage you to follow the steps exactly as I'm presenting them. So create a simple Python file on your machine. You're going to create a basic coin flip program. Now, this is a typical interview-type question for somebody working in a language. The idea here is that you are going to input the number of flips to execute, and obviously that's going to be a web request to your function. You are then going to build a randomization routine to randomize the results between heads or tails. And then I…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.