Python Forum
How to combine two output in one variable?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to combine two output in one variable?
#3
>>> a = "Kaspersky"
>>> b = "Trend Micro"
>>> c = f"{a}#{b}"
>>> c
'Kaspersky#Trend Micro'
>>> 
Reply


Messages In This Thread
RE: How to combine two output in one variable? - by Gribouillis - Aug-01-2022, 09:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Os command output in variable shows wrong value paulo79 2 2,296 Apr-09-2022, 03:48 PM
Last Post: ndc85430
  Command output to Variable ironclaw 1 3,596 Aug-26-2021, 06:55 PM
Last Post: bowlofred
  Getting a GET request output text into a variable to work with it. LeoT 2 5,382 Feb-24-2021, 02:05 PM
Last Post: LeoT
  Capture grep output to a variable which includes another variable kdefilip2 4 11,690 Nov-24-2019, 12:30 PM
Last Post: kdefilip2
  Guidance in Creating random output for a variable. Livne_ye 1 3,000 May-04-2019, 01:18 PM
Last Post: Yoriz
  How to assign this output to a string variable? Pedroski55 3 3,450 Apr-18-2019, 07:23 AM
Last Post: Yoriz
  Pass variable script return twice output problem Faruk 8 6,058 Dec-26-2018, 11:57 AM
Last Post: Faruk
  unexpected output for global variable bhdebasish 1 2,898 Aug-22-2018, 04:55 PM
Last Post: Larz60+
  Retrieve data from Terminal output or from an ASE variable. DreamingInsanity 0 2,722 Jul-08-2018, 05:51 PM
Last Post: DreamingInsanity
  Is it possible to create a variable with the name of an output of another variable Panda 8 5,918 Jun-06-2018, 09:14 PM
Last Post: Panda

Forum Jump:

User Panel Messages

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