The basic python inputs code doesn't work right when I open them on google chrome. is there a different was to write the code in PyScript, that's still as simple as the normal inputs? I really don't want to have to convert everything to JavaScript, mostly because I would need to learn how JavaScript works. (also sorry about the formatting I literally just use notepad)
<link rel="stylesheet" href="https://pyscript.net/latest/pyscript.css" />
<script defer src="https://pyscript.net/latest/pyscript.js"></script>
<body>
<py-script>
print("welcome to madlibs!")
print('please do not put any spaces in your answers')
print("")
print("")
print("")
name1 = input('name?')
this is what happens when I open it on google chrome. it doesn't even let the page load until it has input.
I wanted it to run how it would in python, but upon further google searches I learned that will never happen. I thought at least it would put the question in the input box, but it didn't do that either.