F-string problem of python

u = "https://xxx.com/{id}"
id = 1
b = f"{u}" -sharp"https://xxx.com/{id}"
c = "https://xxx.com/1"

how does the f-string of python make b achieve the result of c? can"t define id first, nor do I want the method of f"{xxx.com} {id}". I mainly want to know if there are any tricks.

May.24,2022

u = 'https://xxx.com/{id}'
id = 1
c = u.format(id = id)
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8804a-68611.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8804a-68611.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?