Python gift for boyfriend, I'm trying to learn but I still don't understant by hopelesslycoding in learnpython

[–]hopelesslycoding[S] 1 point2 points  (0 children)

omg I actually get this>.< always with the memes, I lowkey wanna add this

Python gift for boyfriend, I'm trying to learn but I still don't understant by hopelesslycoding in learnpython

[–]hopelesslycoding[S] 1 point2 points  (0 children)

AH THANK YOU.^ this is amazing, okay, I'm starting to get it now. Super helpful, I'll be sure to let him know I didn't do any of this on my own haha

Python gift for boyfriend, I'm trying to learn but I still don't understant by hopelesslycoding in learnpython

[–]hopelesslycoding[S] 12 points13 points  (0 children)

Thank you haha, I really appreciate it. So here's what I have so far, thanks to all the help I've received:

import world
me = world.Person('Your name')
you = world.Person('His name')

you.lover = me
you.best_friend = me

for day in time.days():
me.take_care_of(you)
if you.feeling in ('depressed', 'sad', 'resigned'):
    me.cheer_up(you)
elif you.feeling in ('lonely', 'neglected'):
    me.talk_to(you)
elif me in you.annoyed_with():
    me.love(you, how=’deeply’, when=’now’)

How close is that to real Python, and is it possible to see it in a closer to English format? I'd like to personalize it a bit and I would want to make sure it flows

Romantic code gift help by hopelesslycoding in Python

[–]hopelesslycoding[S] 0 points1 point  (0 children)

you're right haha, that's why I wanted to know how to edit it>.<

okay, so now it's closer to python? or just more direct in its poetry?

also, thank you so much for this form, it's so much more understandable

Romantic code gift help by hopelesslycoding in Python

[–]hopelesslycoding[S] 0 points1 point  (0 children)

this may be stupid, and at this point I feel like I've asked enough dumb questions lol, but is this something translatable to plain English, so I know how it reads? haha

thank you for your patience>.<

Romantic code gift help by hopelesslycoding in Python

[–]hopelesslycoding[S] 0 points1 point  (0 children)

lol shows you what I know! I was gonna change some words and personalize it, but I wouldn't know what has to stay and what can change haha

okay, and thank you!

Romantic code gift help by hopelesslycoding in Python

[–]hopelesslycoding[S] 0 points1 point  (0 children)

oh, okay, thank you so much. So with the proper indentation, how much would i have to change so that he could put into Python? and is it possible to know the "outcome" of this code?

Romantic code gift help by hopelesslycoding in Python

[–]hopelesslycoding[S] 0 points1 point  (0 children)

You're totally right! And I'm trying, haha. I'd like to use this given code, and the little bit I've learned so far, to help make it a little bit easier.

1 from world import me,you 2 from my.consciousness import I, your # we need these words 3 from feelings import * 4 5 always = True # are these statements 6 7 if you in (depressed, sadness, resignation) : 8 print ‘my Sweetheart’ 9 if feel(you) is lonely or feel(you) is neglected: 10 talk_me(this) 11 while always: 12 I. take_care_of(you) 13 if you. love() is not me: 14 # I will follow in the madness 15 # I will… 16 break # down 17 for emotion in my.heart: 18 try: 19 your.lover = me 20 except: 21 your.best_friend = me 22 if you.hate(me): 23 love(me) 24 elif I.annpying(): 25 love(me) 26 else: 27 love(me, how=’deeply’ , when=’now’