help with python
kk so um im making a console game, and im tryna figure out how to skip a line and also how to make some stuff
and also how to add inputs and values and stuff
1.) If you want to skip a line, just add a blank print statement or print out a newline (/n) character
2.) Font size isn't an option, unless you want to do ASCII art
3.) User input is literally
input(), and it returns a string that you can store in a variable.
print() is special in that it allows you to pass in multiple arguments, e.x.
This doesn't work for much of anything else, though. To fix this, you should do what's called concatenation, or joining two strings together. So, you need
sprint("thing1" + "thing2") instead of
@SixBeeps is right. Use \n to skip a line. EX:
print("hello\n you skipped a line") If you want user input you would do something like this:
name = input("Enter your name:") The output of this would be
Enter your name: (you should up a space after : ). If you want to print this user input you would do something like,
print("Hello " name) You may need to put a comma but you will find that out. Have a nice day!