Skip to content

Crash Course on Python (Google IT Automation with Python Professional Certificate)

Course Assignments

Module 1 challenge: Hello Python! :Crash Course on Python (Google IT Automation with Python Professional Certificate) Answers 2025

1. What is a computer program? ✔️ Step-by-step instructions on how to complete a set of tasks, to be executed by a computer. ❌ Overview of the problem❌ File printed by interpreter❌ Syntax and semantics 2. What is a function? ✔️ A reusable block of code that performs a specific task ❌ Program beginning❌ Task… <a href="https://codeshala.io/platform/coursera/course/crash-course-on-python-google-it-automation-with-python-professional-certificate/assignment/module-1-challenge-hello-python-crash-course-on-python-google-it-automation-with-python-professional-certificate-answers-2025/" rel="bookmark"><span class="screen-reader-text">Module 1 challenge: Hello Python! :Crash Course on Python (Google IT Automation with Python Professional Certificate) Answers 2025</span></a>

Module 2 challenge: Basic Python Syntax Assessment :Crash Course on Python (Google IT Automation with Python Professional Certificate) Answers 2025

1. Complete the code ✔️ IP_address = "192.168.1.10" host_name = "Printer Server 1" print(IP_address + " is the IP address of " + host_name) 2. Value of "big" > "small" Alphabetically, "b" < "s" → so "big" > "small" is False ✔️ False❌ True❌ big❌ small 3. What is elif used for? ✔️ To handle… <a href="https://codeshala.io/platform/coursera/course/crash-course-on-python-google-it-automation-with-python-professional-certificate/assignment/module-2-challenge-basic-python-syntax-assessment-crash-course-on-python-google-it-automation-with-python-professional-certificate-answers-2025/" rel="bookmark"><span class="screen-reader-text">Module 2 challenge: Basic Python Syntax Assessment :Crash Course on Python (Google IT Automation with Python Professional Certificate) Answers 2025</span></a>

Module 3 challenge: Loops :Crash Course on Python (Google IT Automation with Python Professional Certificate) Answers 2025

1. Even numbers 2–12 ✔️ Correct code: number = 2 while number <= 12: print(number, end=" ") number += 2 2. Correct the loop ✔️ Correct loop: for number in range(2, 13, 2): print(number) 3. factorial(n) ✔️ Answers: While condition → n > 0 Decrement → n -= 1 4. multiplication_table ✔️ Ranges: Outer →… <a href="https://codeshala.io/platform/coursera/course/crash-course-on-python-google-it-automation-with-python-professional-certificate/assignment/module-3-challenge-loops-crash-course-on-python-google-it-automation-with-python-professional-certificate-answers-2025/" rel="bookmark"><span class="screen-reader-text">Module 3 challenge: Loops :Crash Course on Python (Google IT Automation with Python Professional Certificate) Answers 2025</span></a>

Module 4 challenge: Strings, Lists, and Dictionaries :Crash Course on Python (Google IT Automation with Python Professional Certificate) Answers 2025

1. confirm_length function✔️ if len(word) > 0: return len(word)❌ if word != "": return word❌ if len(word) >= 1: return word.upper() 2. highlight_word function✔️ return sentence.replace(word, word.upper())❌ return sentence.upper(word)❌ return sentence[word].upper() 3. combine_lists function✔️ list1.reverse(); combined_list = list2 + list1❌ combined_list = list2.append(list1)❌ combined_list = list2 + list1.reverse() 4. squares function✔️ [n**2 for n in… <a href="https://codeshala.io/platform/coursera/course/crash-course-on-python-google-it-automation-with-python-professional-certificate/assignment/module-4-challenge-strings-lists-and-dictionaries-crash-course-on-python-google-it-automation-with-python-professional-certificate-answers-2025/" rel="bookmark"><span class="screen-reader-text">Module 4 challenge: Strings, Lists, and Dictionaries :Crash Course on Python (Google IT Automation with Python Professional Certificate) Answers 2025</span></a>

Module 5 challenge: Final Project :Crash Course on Python (Google IT Automation with Python Professional Certificate) Answers 2025

1. Why is understanding the problem essential?✔️ To identify the inputs and outputs of the problem✔️ To write code that will solve the problem in a clear and concise way❌ To select which scripting language to use✔️ Ensure that you are writing a script that is efficient and effective 2. Output of numbers.sort()✔️ 1, 2,… <a href="https://codeshala.io/platform/coursera/course/crash-course-on-python-google-it-automation-with-python-professional-certificate/assignment/module-5-challenge-final-project-crash-course-on-python-google-it-automation-with-python-professional-certificate-answers/" rel="bookmark"><span class="screen-reader-text">Module 5 challenge: Final Project :Crash Course on Python (Google IT Automation with Python Professional Certificate) Answers 2025</span></a>