#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2014
    Posts
    2
    Rep Power
    0

    Question Want to write "i love you, fella" in python coding for programmer bf. PLEASE HELP!


    So, you guys, I want to do somethin unexpected for my guy and write him out a message of "I love you, fella" in proper python coding. I was going to do it in java or binary, but python is very special to him. Please help, I can't find anything online on how to do it. D:
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2014
    Posts
    4
    Rep Power
    0
    Originally Posted by ladydev
    So, you guys, I want to do somethin unexpected for my guy and write him out a message of "I love you, fella" in proper python coding. I was going to do it in java or binary, but python is very special to him. Please help, I can't find anything online on how to do it. D:
    hello .

    please see this code . I hope this code help you.this code is for python 2.7

    print "I love you , fella"

    or you can use a variable for your guy name.

    u="fella"
    print "I love you ,%s" % u
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Location
    /dev/null
    Posts
    163
    Rep Power
    19
    The simplest you can do is this:

    Code:
    #! /usr/bin/python
    # Or wherever your python is
    print("I love you, fella")
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2014
    Posts
    2
    Rep Power
    0
    Thank you so much!

IMN logo majestic logo threadwatch logo seochat tools logo