New course! Every coder should learn Generative AI!
Try a free lesson+ 3
Hi I am new how do u finish and input
Everytime I input something it tells me to put something after my setence I do but I does not work either https://code.sololearn.com/cUjfU4KUGphC/?ref=app
3 Answers
+ 4
There is no "input()" in your code, so there's no way to input something.
+ 2
Or
x = input("Enter Your Name: ")
then
print("My name is {}".format(x))
or
print("My name is ", x)
If you learned about string formatting, then it will be easy. If not, There is a lesson in python that includes string formatting.
+ 1
They is no input in your code..
X = input ("enter your name: ")
Print("my name is" + "," + x )
This is how to use an input
#output
enter your name: austine
My name is Austine