Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 5
why can't I convert (String to Int) in this code
2 Answers
+ 7
edit with this last line will work
Try it
print(cheer(yards: Int(readLine()!)!))
+ 4
Thanks it's working!
my problem is solved.