Basics of Web Design: Html5 & Css3
4th Edition
ISBN: 9780134444338
Author: Terry Felke-Morris
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 5, Problem 4RQ
Program Description Answer
The “list-style-type: square” is used to configure an unordered list element with a square list marker.
Hence, the correct answer is option “B”.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
According to the text's specifications, a collection is a list.
True
False
File Edit Shell Debug Options Window Help
tions & Lists\Lab 4 Solution.py
Enter the current date in the format m/d/yyyy: 10/12/2021
Name
Age
Season born
Leap year?
James B W Bevis
Henry Bemis
Romney Wordsworth
Osborne Cox
Somerset Frisby
Revis Jacara
Bartlet Finchley
Penthor Mul
Walter Bedeker
Clegg Forbes
Jeremy Wickwire
Luther Dongle
Klim Dokachin
Archibald Beechcroft
Oliver Crangle
Agnes Grep
William Feathersmith
Kalin Tros
Clovis Bagwell
Wallace V Whipple
Jeff Myrtlebank
Latham Bine
Jim Pembry
———-
78
13
9
32
11
86
19
192IN
93
25
17
21
43
46
30
67
7
54
65
827 ∞8T8
ONONG
18
82
20
72
29
Average age of contact is 40
fall
summer
summer
winter
fall
winter
fall
spring
spring
spring
winter
summer
fall
summer
spring
fall
winter
winter
summer
spring
summer
winter
spring
No
Yes
Yes
No
No
No
No
Yes
Yes
Yes
No
No
No
No
No
No
No
No
No
No
No
No
Yes
What does the following error message
normally mean?
IndexError: list index out
of range
Select one:
а.
This error normally indicates that
you have tried to access an element
of a list that doesn't exist.
O b. This error normally means that you
have used the range() function
incorrectly.
С.
This error normally means that you
have used a list where you should
have used a tuple.
d. This error normally means that you
used too many lines of code in your
program.
Chapter 5 Solutions
Basics of Web Design: Html5 & Css3
Knowledge Booster
Similar questions
- Names = ['Molly', 'Lan', 'Rudy', 'Eliza'] Wage = [15.30, 19.34, 11.78, 13.23] HireDate = ['09-08-2013', '04-12-2011', '02-09-2018', '10-06-2020'] Convert the HireDate to Date/Time data type using list comprehension Zip the lists Names, Wage and the HireDate that was converted to date/time data type Suppose that raise for next year is 5% for those who have completed at least 5 years of employment by the end of 2023 and 2.5% otherwise. Iterate over the zipped objectarrow_forwardAn item in a list has another .synonyms, which is index True O False O baythonarrow_forwardAdd courses to the cart: Customer will only be able to add a course if the title is in the master’s list.Once added, the course name and its price need to be added to a shopping cart list, the information -title and price - needs to be separated (as in master list) by any delimiter of your choice (like: colon,space, dash etc). Customer should be able to view the shopping cart list after adding a course. Delete a course from cart: Customer will enter the name of the course and the program will lookfor the course in the shopping cart list to be deleted from. View the shopping cart list after deletion. Check out course: Customer should be able to view the list of the courses and their individualprice that are being selected by the user, then view the total price of all the courses in theshopping cart. Again, you need to use a for loop to iterate over the shopping list, separate the titleand price and view the information as shown in sample I/O. Directly printing the list will…arrow_forward
- def delete_item(...): """ param: info_list - a list from which to remove an item param: idx (str) - a string that is expected to contain an integer index of an item in the in_list param: start_idx (int) - an expected starting value for idx (default is 0); gets subtracted from idx for 0-based indexing The function first checks if info_list is empty. The function then calls is_valid_index() to verify that the provided index idx is a valid positive index that can access an element from info_list. On success, the function saves the item from info_list and returns it after it is deleted from info_list. returns: If info_list is empty, return 0. If is_valid_index() returns False, return -1. Otherwise, on success, the function returns the element that was just removed from info_list. Helper functions: - is_valid_index() """arrow_forwardWhich class is used to create a basic list group? .group-list .list-group .grouped-listarrow_forwardWrite one line of code for each of the following: 1) Create a list named fruits with the following items:'apple', 'cherry', 'pear' 2) Add "orange" at the end of the fruits list. 3) Change the value from "cherry" to "banana", in the fruits list. 4) Use the insert method to add "lemon" as the third item in the fruits list. 5) Use a range of indexes to print the third, fourth, and fifth items in the fruits list. 6) Use the del method to remove "banana" from the fruits list. 7) Use negative indexing to print 'pear' in the fruits lisarrow_forward
- POEM_LINE = str POEM = List[POEM_LINE] PHONEMES = Tuple[str] PRONUNCIATION_DICT = Dict[str, PHONEMES] def all_lines_rhyme(poem_lines: POEM, lines_to_check: List[int], word_to_phonemes: PRONUNCIATION_DICT) -> bool: """Return True if and only if the lines from poem_lines with index in lines_to_check all rhyme, according to word_to_phonemes. Precondition: lines_to_check != [] >>> poem_lines = ['The mouse', 'in my house', 'electric.'] >>> lines_to_check = [0, 1] >>> word_to_phonemes = {'THE': ('DH', 'AH0'), ... 'MOUSE': ('M', 'AW1', 'S'), ... 'IN': ('IH0', 'N'), ... 'MY': ('M', 'AY1'), ... 'HOUSE': ('HH', 'AW1', 'S'), ... 'ELECTRIC': ('IH0', 'L', 'EH1', 'K', ... 'T', 'R', 'IH0', 'K')} >>> all_lines_rhyme(poem_lines, lines_to_check, word_to_phonemes) True…arrow_forwardPython program that completes the following steps: 1. Create a list named fruits containing the following elements: “Apple”, “Banana”, “Cherry”, “Date”, “Elderberry”. 2. Print the list. 3. Convert the fruits list to a tuple named fruits_tuple. 4. Print the tuple. 5. Convert the fruits list to a set named fruits_set. 6. Print the set. 7. Convert the fruits list to a dictionary named fruits_dict that contains the fruits as keys and their lengths as values: a. Lengths being the size of the word (key) - Apple is 5, Banana is 6, but these should not be hardcoded values, you need to use the len() function to gather the length of the key. 8. Print the dictionary. 9. Add “Fig” and “Grape” to the fruits list. 10. Remove “Date” from the fruits list. 11. Print the updated list. 12. Update fruits_dict to reflect the changes made to the fruits list. 13. Print the updated dictionary.arrow_forwardAssignment: Change the styles of ordered list and unordered listarrow_forward
- Which of the following assignment statements creates a list with 4 Integer elements? Click on the Correct Response A) my list=[7, 2, -8, 16] B) my_list = integer(4) C) my_list = [4] D) my_list = ['1', '2', '3', '4']arrow_forwardhelp with python code import time timeStamp = time.ctime()print(timeStamp)forum_list = [ {'date':'10-01-2022', 'name':'Student1', 'comment':'Very helpful'}, {'date': '10-01-2022', 'name': 'Student2', 'comment': 'Very good'} ] menu = """ Forum Comments 0: Exit 1: Display Comments 2: Add Comment """ done = False while not done: print(menu) selection = input('Please make a selection: ') if selection == "0": done = True print('Exiting now, thank you for participating') if selection == "1": for d in forum_list: print(d['date'], end='') print(' ', end='') print(d['name']) print(d['comment']) if selection == "2": comment = {} comment['date'] = input('Please enter date: ') comment['name'] = input('Please enter name: ') comment['comment'] = input('Please enter comment: ') forum_list.append(comment) # what's inside the data.txt file #Date Name…arrow_forward-Write a statement that assigns the list of seasons of the year to the variable seasons in the following order in Python: Winter Spring Summer Fall -Write one statement that uses the in operator to test if the element 'surfing' is present in list listActivities and print the results. -Using the del keyword and/or the slicing operator:, delete the 3rd through the 5th element from the list listTemps. You've been provided a list named myLst, of six integers. Set the fourth element's value to 7.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education