Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I need help with a code
#1
Hi, I dont know what Im doing wrong.

When writing this code I get syntax error. I have Python 3.7 installed

first_name = "cuong"
last_name = "bui"
full_name = f"{first_name} {last_name}"
print(full_name)
Anyone that can solve this problem?
Reply
#2
Works fine for me.
Post the entire error traceback (in error tags)
Reply
#3
(Sep-02-2019, 05:17 AM)cuongvanbui Wrote: I have Python 3.7 installed

Installed Python version doesn't equal Python actually used. You should verify what version your system uses. On MacOS one can do in terminal: python -V
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply
#4
Please share the snippet of error code
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020