Write a R program to create a list named s containing sequence of 15 capital letters, starting from ‘E’

  • برمجة R

Write a R program to create a list named s containing sequence of 15 capital letters, starting from ‘E’.

الأجوبة

l = LETTERS[match("E", LETTERS):(match("E", LETTERS)+15)]
print("Content of the list:")
print("Sequence of 15 capital letters, starting from ‘E’-")
print(l)

Sample Output:

[1] "Content of the list:"
[1] "Sequence of 15 capital letters, starting from ‘E’-"
 [1] "E" "F" "G" "H" "I" "J" "K" "L" "M" "N" "O" "P" "Q" "R" "S" "T"
هل كان المحتوى مفيد؟

معلومات ذات صلة

تبحث عن مدرس اونلاين؟

محتاج مساعدة باختيار المدرس الافضل؟ تواصل مع فريقنا الان لمساعدتك بتأمين افضل مدرس
ماهو التخصص الذي تبحث عنه؟
اكتب هنا...