Can someone explain why I can not use your_name in the goal variable?
my_name = "Bryson" my_age = 29 your_name = input ("What is your name? ") your_age = input ("What is your age? ") print ("My name is", my_name,", and I am", my_age, "years old.") print ("Your name is", your_name,", and you are", your_age,".") print("Thank you for buying my book,", your_name,"!") goal = input ("What was your favorite part of the book,", your_name, "?") print("Awesome!")
The error I get is:
goal = input ("What was your favorite part of the book,", your_name, "?") TypeError: input expected at most 1 arguments, got 3
Related Posts:
- SyntaxError: unexpected EOF while parsing
- Use Gif Logo For Loading Screen In Kivy
- How can I make a time delay in Python? [duplicate]
- Python – TypeError: ‘int’ object is not iterable
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- Microsoft Visual C++ 14.0 is required (Unable to find vcvarsall.bat)
- How to install pip with Python 3?
- Import Error: No module named numpy
- Python: ‘ModuleNotFoundError’ when trying to import module from imported package
- TypeError: a bytes-like object is required, not ‘str’ when writing to a file in Python3
- Relative imports in Python 3
- Best way to convert string to bytes in Python 3?
- What does the list() function do in Python?
- TypeError: not all arguments converted during string formatting python
- Using Python 3 in virtualenv
- WinError 2 The system cannot find the file specified (Python)
- hashlib.md5() TypeError: Unicode-objects must be encoded before hashing
- Could not find a version that satisfies the requirement tensorflow
- Local variable referenced before assignment?
- AttributeError: ‘module’ object has no attribute ‘urlopen’
- Python Error: AttributeError: __enter__ [duplicate]
- Can’t fix “zipimport.ZipImportError: can’t decompress data; zlib not available” when I type in “python3.6 get-pip.py”
- ‘method’ object is not subscriptable. Don’t know what’s wrong
- filedialog, tkinter and opening files
- error UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xff in position 0: invalid start byte
- Error in Python script “Expected 2D array, got 1D array instead:”?
- Error: ” ‘dict’ object has no attribute ‘iteritems’ “
- How to upgrade pip3?
- TypeError: Missing 1 required positional argument: ‘self’
- What is __pycache__?
- SystemError: Parent module ” not loaded, cannot perform relative import
- TypeError: ‘<=' not supported between instances of 'str' and 'int' [duplicate]
- TypeError: unsupported operand type(s) for -: ‘str’ and ‘int’
- How to upgrade pip3?
- How to Read .txt in Pandas
- TypeError: can’t use a string pattern on a bytes-like object in re.findall()
- TypeError: cannot convert the series to
- Pinging servers in Python
- Add Legend to Seaborn point plot
- ‘End of statement expected’ in pycharm
- How to pass arguments to a Button command in Tkinter?
- How to remove specific substrings from a set of strings in Python?
- Type error: cannot convert the series to
- Change figure size and figure format in matplotlib
- How can I concatenate str and int objects?
- error: Failed to load the native TensorFlow runtime
- ImportError: No module named ‘encodings’
- How to remove punctuation marks from a string in Python 3.x using .translate()?
- Subplot for seaborn boxplot
- enumerate() for dictionary in python
- Why Python 3.6.1 throws AttributeError: module ‘enum’ has no attribute ‘IntFlag’?
- How to use sys.exit() in Python
- PermissionError: [WinError 5] Access is denied
- installing urllib in Python3.6
- What is sys.maxint in Python 3?
- Converting int to bytes in Python 3
- How can I install Python’s pip3 on my Mac?
- How to get the current working directory using python 3?
- min() arg is an empty sequence
- What is the meaning of ‘for _ in range()
- Python sockets error TypeError: a bytes-like object is required, not ‘str’ with send function
- Pipenv: Command Not Found
- Python: AttributeError: ‘_io.TextIOWrapper’ object has no attribute ‘split’
- Youtube_dl : ERROR : YouTube said: Unable to extract video data
- Anaconda Installed but Cannot Launch Navigator
- ImportError: No module named ‘yaml’
- TypeError: ‘_io.TextIOWrapper’ object is not subscriptable
- Properly formatted multiplication table
- How to print multiple lines of text with Python
- ImportError: No module named ‘cv2’ Python3
- How to compare individual characters in two strings in Python 3
- ModuleNotFoundError: No module named ‘seaborn’ in Python IDE
- Is there a ceiling equivalent of // operator in Python?
- How do I run pip on python for windows?
- Need to install urllib2 for Python 3.5.1
- ImportError: No module named ‘xlrd’
- Moving Average Pandas
- TypeError: ‘set’ object does not support indexing
- What does {0} mean in this Python string?
- Tab Error in Python
- Root mean square of a function in python
- Python 3.5.1 urllib has no attribute request
- matplotlib: plot multiple columns of pandas data frame on the bar chart
- pip throws TypeError: parse() got an unexpected keyword argument ‘transport_encoding’ when trying to install new packages
- Why do I get this error “TypeError: ‘method’ object is not iterable”?
- What is the purpose of dollar sign in this Python3 string formatting expression?
- What is the meaning of “int(a[::-1])” in Python?
- What is an easy way to implement fprintf in python?
- Generator expression must be parenthesized if not sole argument
- Does python have header files like C/C++?
- Getting a name error when trying to input a string [duplicate]
- How to install NumPy for Python 3.6
- IOError: [Errno 32] Broken pipe when piping: `prog.py | othercmd`
- Error loading MySQLdb module: No module named ‘MySQLdb’
- How do you switch between python 2 and 3, and vice versa?
- Iterating over dictionary items(), values(), keys() in Python 3
- Python webbrowser.open() to open Chrome browser
- Undefined variable error in function
- Python 3 integer division [duplicate]
- Python – difference between two strings