Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Print command
#1
Hi

using
print '.ngc'+string

I get .ngc***** - 3654 - 20181222

but using using
print string+'.ngc'
***** - 3654 - 20181222

.ngc


but would like ***** - 3654 - 20181222.ngc



how would I fix this

thanks
Reply


Messages In This Thread
Print command - by isar - Dec-28-2018, 04:42 PM
RE: Print command - by nilamo - Dec-28-2018, 05:20 PM
RE: Print command - by isar - Dec-28-2018, 05:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to Randomly Print a Quote From a Text File When User Types a Command on Main Menu BillKochman 13 1,149 Apr-24-2024, 05:47 AM
Last Post: Bronjer
  problem with print command in super() akbarza 5 685 Feb-01-2024, 12:25 PM
Last Post: deanhystad
  Python VS Code: using print command twice but not getting output from terminal kdx264 4 1,169 Jan-16-2023, 07:38 PM
Last Post: Skaperen
  Why does absence of print command outputs quotes in function? Mark17 2 1,437 Jan-04-2022, 07:08 PM
Last Post: ndc85430
  Using print command to send command to rasberry pi terminal MondazeBear 2 1,900 Aug-02-2021, 03:15 PM
Last Post: Larz60+
  Will not print in command prompt PandaCode 12 13,320 May-06-2020, 03:48 AM
Last Post: PandaCode
  how to make a mathematical operation without the command "print" ewar2606 4 3,026 Mar-15-2018, 07:19 PM
Last Post: sparkz_alot

Forum Jump:

User Panel Messages

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