keep looping = “a” user input = “y” while (keep looping == “y”): print (“hello world!”) user input = input(“would you like me to keep printing hello world? (y/n)”)
@echo off setlocal rem rem Note the type rem set VAR=Hello wrold. rem rem print the variable and fix the rem typo in one go: rem echo %VAR:wrold=world% endlocal