Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with the input
#2
not clear what you are having problem with

>>> user = 'marios'
>>> user + '@'
'marios@'
or better - using f-strings (string-formatting)

>>> email = f'{user}@python-forum.io'
>>> email
'[email protected]'
please post minimal reproducible example. If you get any traceback - post it in full, in error tags
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
Problem with the input - by marios - May-03-2020, 11:08 AM
RE: Problem with the input - by buran - May-03-2020, 11:15 AM
RE: Problem with the input - by marios - May-03-2020, 12:33 PM
RE: Problem with the input - by buran - May-03-2020, 12:54 PM
RE: Problem with the input - by marios - May-03-2020, 01:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  problem in using input command akbarza 4 3,307 Oct-19-2023, 03:27 PM
Last Post: popejose
  problem in entering address of a file in input akbarza 0 1,462 Oct-18-2023, 08:16 AM
Last Post: akbarza
  Problem with input after function luilong 10 6,040 Dec-04-2021, 12:16 AM
Last Post: luilong
  Problem restricting user input in my rock paper scissors game ashergreen 6 6,390 Mar-25-2021, 03:54 AM
Last Post: deanhystad
  single input infinite output problem Chase91 2 2,687 Sep-23-2020, 10:01 PM
Last Post: Chase91
  Problem using input in Dictionary.. Help roseojha 1 2,295 Aug-25-2019, 08:51 AM
Last Post: ThomasL
  simple string & input problem kungshamji 5 4,769 Jun-23-2019, 03:54 PM
Last Post: kungshamji

Forum Jump:

User Panel Messages

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