February 13th, 2014, 08:23 PM
-
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:
February 13th, 2014, 10:44 PM
-
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
February 13th, 2014, 10:48 PM
-
The simplest you can do is this:
Code:
#! /usr/bin/python
# Or wherever your python is
print("I love you, fella")
February 13th, 2014, 10:50 PM
-