}

问题描述 投票:0回答:1
loveCal()

func loveCal(){让loveScore = Int.random(in:0 ... 100)切换loveScore {案例80 ... 100:print(“您像Kanye一样爱对方,也喜欢Kanye”)case 40 ... 80 :print(“您像...一样走在一起...

swift switch-statement
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.