using python to interact with the operating system coursera answers
Week 1 – Hello Python!
Practice Quiz: Introduction to Programming 1. What’s a computer program? Answers A set of languages available in the computer A process for getting duplicate values
Week 2 – Basic Python Syntax
Practice Quiz: Expressions and Variables 1. This code is supposed to display “2 + 2 = 4” on the screen, but there is an error.
Week 3 – Loops
Practice Quiz: While Loops 1. In Python, what do while loops do? Answers while loops tell the computer to repeatedly execute a set of instructions
Week 4 – Strings, Lists and Dictionaries
Practice Quiz: Strings 1. Fill in the blanks to complete the is_palindrome function. This function checks if a given string is a palindrome. A palindrome
Week 5 – Object Oriented Programming (Optional)
crash course on python week 5 quiz answers Practice Quiz: Object-oriented Programming (Optional) 1. Let’s test your knowledge of using dot notation to access methods
Week 6 – Bash Scripting
using python to interact with the operating system week 6 answers Practice Quiz: Interacting with the Command Line 1. Which of the following commands will