R_Code-13.r (523B)
1 # Author: Amit Dutta (amitdutta4255@gmail.com) | Date: 20 Mar 2026 2 # Repo: https://github.com/notamitgamer/bsc 3 # License: MIT 4 5 # Create a list named student_record containing a string, 6 # an integer, and a numeric vector of two grades. Then, add the 7 # logical value TRUE to the end of the list, ensuring the original 8 # student_record variable is updated. Print the final list. 9 10 student_record <- list("Amit Dutta", 95, c(95, 96)) 11 print(student_record) 12 student_record <- append(student_record, TRUE) 13 print(student_record)