I am making an adventure game in python 3.7.3, and I am using F strings for some of my print statements. When running it in the terminal and sublime text, F strings give me an error.
import time
from time import sleep
import sys
def printfast(str):
for letter in str:
sys.stdout.write(letter)
sys.stdout.flush()
time.sleep(0.04)
name = input("\nWhat is your name?\n\n")
printfast(f("You are the mighty hero {name}. In front of you, there is a grand palace, containing twisting marble spires and spiraling dungeons.\n")