Python Forum
inserting value into strings
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
inserting value into strings
#8
i think i finally found out how to do it XP
def Love():
def Love():
	b=int(len(input("put in your name please: ")))
	g=int(len(input("please put in the name of your crush: ")))
	l=int(((((b*4)**4)-b**2)-g**5)+((((g*3)**2)-g**2)-b**4))
	b=int(l/9000)
	print("--------------------------------------------------------------------------")
	print("your love compatibillity is " + str(b) + "%; Disclaimer: this is not accurate at all")
yay
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 907 Aug-06-2023, 11:42 AM
Last Post: deanhystad
  Splitting strings in list of strings jesse68 3 1,894 Mar-02-2022, 05:15 PM
Last Post: DeaD_EyE
  Finding multiple strings between the two same strings Slither 1 2,602 Jun-05-2019, 09:02 PM
Last Post: Yoriz
  lists, strings, and byte strings Skaperen 2 4,324 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