0
Need a helping hand : I tried this code str(input("Enter First Name:")) + str(input("Enter Last Name:")) \n print(input) After entering the first name, it gives an error. Pls What's wrong with the code?
Code error
7 odpowiedzi
+ 1
The \n is not in quotes. Infact you don't need it in that code. You don't need the str () either. The input function always returns values as a string.
+ 1
The input() function ALWAYS return a string (even if the user typed in a number).
0
Okay,, I'll try it out.... Thanks
0
Okay,, I'll try it out.... Thanks
0
I removed str and \n.. It still gives an error message
0
I'm a big time beginner 🔰 though
- 1
@Paul Osakue, how did you solve it