Ruby练习:取数组中的头几个元素所组成的数组
写一段Ruby代码,取出以下代码中的df这个数组中头10个元素所组成的数组,并将它输出出来。
#!/usr/bin/env ruby
df = [ 1, "two", 3.0, 4, "five", 6.0, 7, "eight", 9.0, 10, "eleven", 12.0, 13, "fourteen", 15.0 ]
print("\n")
print(df)
print ( "\n" )
Your opinionsHxLauncher: Launch Android applications by voice commands