Complete the code to print the name of a popular mobile operating system.
print("The most popular mobile OS is [1].")
Android is one of the most popular mobile operating systems worldwide.
Complete the sentence to name the mobile OS exclusive to Apple devices.
The mobile operating system exclusive to iPhones is called [1].iOS is the operating system used only on Apple iPhones and iPads.
Fix the error in the code that checks if a device runs Android.
device_os = "iOS" if device_os == [1]: print("This device runs Android.")
The code should compare the variable to the string "Android" to check if the device runs Android.
Fill both blanks to create a list of mobile OS names and print the first one.
mobile_os = [[1], [2]] print(mobile_os[0])
The list contains "Android" and "iOS" as popular mobile operating systems. Printing index 0 shows "Android".
Fill all three blanks to create a dictionary mapping OS names to their developers and print the developer of iOS.
os_developers = {
[1]: [2],
[3]: "Google"
}
print(os_developers["iOS"])The dictionary maps "iOS" to "Apple" and "Android" to "Google". Printing os_developers["iOS"] outputs "Apple".