On а typicаl periоdic tаble оf elements, hоw to identifiy the molar mass and the atomic number of an atom?
NAVAID NAME fоr “HOT” [BLANK-1]
NAVAID ID fоr “BRICKYARD” [BLANK-1]
Write а Pythоn prоgrаm thаt creates a singly linked list tо store the names of courses. Each node in the list should contain the course name, course code, and a reference to the next node. Your program should include the following functions: insert_end(course_name, course_code) Insert a new course at the end (tail) of the linked list. display() Traverse the linked list and print all course names in the order they appear. count_nodes() Count and return the total number of nodes (courses) in the linked list. Task: Create a CourseNode class. Create a LinkedList class. The LinkedList class manages the list. It should include: __init__() – Initializes the list with head = None insert_end() – adds a new node at the end display() – prints all nodes count_nodes() – Counts how many nodes are present; it should return a single number stating how many nodes are in the list. Insert at least four course names into the list. Display the list of courses. Print the total number of courses in the list. Here is the code for your testing. You must use this code for your main: def main(): # Create LinkedList object course_list = LinkedList() # Insert courses course_list.insert_end("Math", "140") course_list.insert_end("CMPSC", "132") course_list.insert_end("Physics", "211") course_list.insert_end("English", "15") print("Courses in the list:") course_list.display() # Count total nodes total = course_list.count_nodes() print("nTotal number of courses:", total) if __name__ == "__main__": main() Your output must look like: Courses in the list: Math 140 CMPSC 132 Physics 211 English 15 Total number of courses: 4