Hey @ayushsahu15, welcome to the forums!
First of all you’re in a bash repl, and you need to be in a python, so I recommend copying your code and putting it on a python repl. And you’re code wouldn’t work because the first 3 lines are comment, so delete the hashtags and the spaces.
You’re code should look like this :
x = input("TEXT")
y = input("TEXT")
print(int(x)+int(y))
print(4+5)
1 Like
Also to get the answer of 4+5 you should do :
print(4+5)
You need to configure the .replit
file
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.