i have a python file with the following content saved on my machine: types_of_people = 10 x = f"There are {types_of_people} types of people" binary = "binary" do_not = "don't" y = f"Those who know {binary} and those who {do_not}." print(x) print(y) print(f"i said: {x}") print(f"I also said: '{y}'") hilarious ...
Home/syntax-error
Discy Latest Questions
I am getting an error message with my Atom reader here, where it is suggesting the first print.(f"message") is delivering an error: File "/Users/permanentmajority/Desktop/Coding/learnpythonbook.py", line 75 print(f"Let's talk about {my_name}.") ...
I’m following the Django tutorial https://docs.djangoproject.com/es/1.10/intro/tutorial01/ I’ve created a “mysite” dummy project (my very first one) and try to test it without altering it. django-admin startproject mysite cd mysite python manage.py runserver File "manage.py", line 14 ) from exc ^ SyntaxError: invalid syntax I’m getting a ...