现有一列表 ls = ['the lord of the rings','anaconda','legally blonde','gone with the wind'],编写程序,实现以下功能:
输入“1”,输出元素为0-9的3次方的列表
输入“2”,输出元素为0-9中偶数的3次方的列表
输入“3”,输出元素为元组的列表,元组中元素依次是0-9中的奇数和该数的3次方
输入“4”,将列表 ls 中每个元素首字母转为大写字母,输出新列表
输入其他字符,输出“End of the program”