commit 23964fcb20363cce1e763322c3cedb84864f22e9
parent 4f6bff45f3178a7a3ba580d668d0db026c2cb51a
Author: Amit Dutta <amitdutta4255@gmail.com>
Date: Thu, 19 Mar 2026 21:26:47 +0530
Append 3.14 to list1 and print updated list
Updated list1 by appending 3.14 and printing the result.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Semester_1/R/Code/R_Code-8.r b/Semester_1/R/Code/R_Code-8.r
@@ -10,4 +10,5 @@ list1 <- list(24L, "Sabby", 5.4, "Nepal")
print("Before update")
print(list1)
print("After Update")
-append(list1, 3.14)-
\ No newline at end of file
+list1 <- append(list1, 3.14)
+print(list1)