I’m trying to learn python through sololearn in the mobile app but somehow the app only accepts its own codes or mine is wrong. If I run the code on pythontutor the code gives the desired output but sololearn keeps saying the code is wrong. The question has to convert an input to an integer in order to multiply it by a string and give a concatenated output
this is my code:
x = input()
y = int(input())
z = x * y
but sololearn says my answer is wrong
this is the pythontutor page where I had a supposedly successful output
>Solution :
Sololearn expects you to print your output, so that they can read it and check if it is correct:
x = input()
y = int(input())
z = x * y
print(z)