Skip to content
1.1 input/print
Profile icon
YvngBashit

This file cannot be displayed: https://storage.googleapis.com/replit/images/1536371295634_7ce38ef54fbf93a548c2cb0276786be8.pn

So can some one help me figure this out I don't know what to do?

You are viewing a single comment. View All
Profile icon
LightninMcQuade

Hey! this is a simple error, instead of having input(input "numbers please:")
You should have: print("numbers please:") this will show this message on the screen without asking for an input because that input would be useless. but if you did want them to for example press enter to continue your statement should look like this:
input = input("numbers please:") I hope this was helpful :)

Profile icon
YvngBashit

@LightninMcQuade
This was helpful ,but by doing that it does not complete the task the thing wants me too. When ever I press run the input pops up I want so that if you type number into inputs so that they calculate a sum. How would you think this would be possible using a function maybe?

Profile icon
ash15khng

@YvngBashit
I think the assignment doesn't require you to print "numbers please" so that may cause your test to fail to submit. If you remove that line your code should submit. Also, the input function is used like this:
var = input("Message 123")
Doing this prints "Message 123" to the console, gives you a place to type some text, and sets var to the text that was input.