练习
梦之领域
Kotlin学习中
展开
-
模拟双色球开奖
/** * 模拟双色球开奖 */fun main(args: Array<String>) { //每个球号占两位 val redList = listOf( "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "2.原创 2022-05-27 21:14:00 · 696 阅读 · 0 评论 -
Kotlin练习:美化酒水菜单
/*读取酒水订单文件,让酒水分类显示。酒水订单文件:shandy,Dragon's Breath,5.91elixir,shirley's temple,4.12meal,goblet of la croix,1.22desert dessert,pickled camel hump,7.33elixir,iced boilermaker,11.22完成后的输出应该像这样:*** Welcome to Taernyl's Folly *** ~[shandy]~D.原创 2022-05-13 12:41:19 · 372 阅读 · 0 评论