using input = File.openText("A-small.in")
s = input.readline
aNumber = input.readline to int
print aNumber
raises:
error: Cannot convert type "string" to "int"
using input = File.openText("A-small.in")
s = input.readline
aNumber = input.readline to int
print aNumber
Users browsing this forum: No registered users and 17 guests