0
0
GCPcloud~15 mins

Why GCP for cloud computing - See It in Action

Choose your learning style9 modes available
Why GCP for Cloud Computing
📖 Scenario: You are learning about cloud computing and want to understand why Google Cloud Platform (GCP) is a good choice for hosting applications and services.
🎯 Goal: Build a simple list of reasons why GCP is a good cloud computing platform.
📋 What You'll Learn
Create a list called gcp_reasons with three reasons why GCP is good for cloud computing
Add a variable called priority_reason to hold the most important reason
Use a for loop with variable reason to print each reason
Add a final statement that confirms the list has exactly three reasons
💡 Why This Matters
🌍 Real World
Understanding why a cloud platform like GCP is chosen helps in making informed decisions when building or migrating applications.
💼 Career
Cloud architects and engineers must know the strengths of platforms like GCP to design efficient and secure cloud solutions.
Progress0 / 4 steps
1
Create a list of reasons
Create a list called gcp_reasons with these exact three reasons as strings: 'Strong security', 'Global network', and 'Easy integration with Google services'.
GCP
Need a hint?

Use square brackets [] to create a list and separate items with commas.

2
Add a priority reason variable
Add a variable called priority_reason and set it to the first item in the gcp_reasons list.
GCP
Need a hint?

Use index 0 to get the first item from the list.

3
Loop through reasons
Use a for loop with variable reason to iterate over gcp_reasons. Inside the loop, write a comment that says # Process reason.
GCP
Need a hint?

Use for reason in gcp_reasons: to loop through the list.

4
Confirm list length
Add a final line that sets a variable has_three_reasons to True if the length of gcp_reasons is exactly 3, otherwise False.
GCP
Need a hint?

Use the len() function to get the list length and compare it to 3.