Trying to create a question using a previously given answer (beginner)

Name=input("What is your characters name?")
print("                                                        ")

print("Warrior")
print("Knight")
print("Sorcerer")
print("Cleric")

Class=input("What class is", Name ) 

Traceback (most recent call last):
  File "main.py", line 58, in <module>
    Class=input("What class is", Name ) 
TypeError: input expected at most 1 argument, got 2
 
KeyboardInterrupt
 

Got this response. Please Help

I am new to the software so please refrain from using any advanced jargon. Thank you.


Solution 1:

this is because the input isn't like print, you can't pass multiple arguments and it joins them in spaces, so you should do:

Name=input("What is your characters name?")
print("                                                        ")

print("Warrior")
print("Knight")
print("Sorcerer")
print("Cleric")

Class=input(f"What class is {Name}" )