Python Forum
[split] another problem with code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] another problem with code
#1
Hello. I need help with this:

print1 = "print("
print2 = "dogma"

print(f"My name is {print1}{print2} years old.")

IF i am trying to include the apostrophies in between {print1} and {print2}, what do i do????

MERRY CHRISTMAS. Naughty
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] ibm_db install problem SQLPython 1 551 Feb-13-2025, 07:24 PM
Last Post: buran
  [split] Code help emma1423 1 574 Dec-13-2024, 02:00 PM
Last Post: perfringo
  [split] Explain the python code in this definition Led_Zeppelin 1 1,297 Jan-13-2023, 10:20 PM
Last Post: deanhystad
  [split] Kera Getting errors when following code example Image classification from scratch hobbyist 3 5,544 Apr-13-2021, 01:26 PM
Last Post: amirian
  [split] Python code help sairam17519 3 3,644 Sep-10-2020, 01:44 PM
Last Post: sairam17519
  How to Split Output Audio on Text to Speech Code Base12 2 7,959 Aug-29-2020, 03:23 AM
Last Post: Base12
  How to split and combine embedded lines using less code pjfarley3 6 3,674 Aug-13-2020, 09:13 PM
Last Post: pjfarley3
  [split] SyntaxError when trying to execute code on Windows nehaya 2 2,537 Aug-04-2020, 11:18 AM
Last Post: nehaya
  [split] Python Class Problem astral_travel 12 7,106 Apr-29-2020, 07:13 PM
Last Post: michael1789
  [split] need help with the code CERO123 2 2,469 Feb-10-2020, 03:32 PM
Last Post: jefsummers

Forum Jump:

User Panel Messages

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