Python Forum
inserting value into strings
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
inserting value into strings
#1
so hi I am a complete noob at python and only started learning the basics I tried to create many random things which seem to work but I have no idea how to make this one work, as I said before I am a total noob so don't scold me
>>> def Love():
B=int(len(input("please put your name:")))
G=int(len(input("please put the name og your love interest:")))
print("your compatibillity is" + B-G + "%...")
p.s i am using python v.3.6.2

User has been warned for this post. Reason: crappy title
Reply


Messages In This Thread
inserting value into strings - by Saxycool12345 - Aug-29-2017, 08:27 PM
RE: help me - by wavic - Aug-29-2017, 08:43 PM
RE: help me - by Saxycool12345 - Aug-29-2017, 08:47 PM
RE: help me - by sparkz_alot - Aug-29-2017, 09:11 PM
RE: help me - by Saxycool12345 - Aug-29-2017, 10:38 PM
RE: help me - by deaspo - Aug-29-2017, 09:59 PM
RE: help me - by wavic - Aug-30-2017, 12:07 AM
RE: help me - by Saxycool12345 - Sep-13-2017, 05:05 PM
RE: help me - by deaspo - Sep-13-2017, 08:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trying to understand strings and lists of strings Konstantin23 2 843 Aug-06-2023, 11:42 AM
Last Post: deanhystad
  Splitting strings in list of strings jesse68 3 1,839 Mar-02-2022, 05:15 PM
Last Post: DeaD_EyE
  Finding multiple strings between the two same strings Slither 1 2,569 Jun-05-2019, 09:02 PM
Last Post: Yoriz
  lists, strings, and byte strings Skaperen 2 4,286 Mar-02-2018, 02:12 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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