An arrow pierces the heart - two hearts are closely connected (Python code implementation)

content

1 Two hearts are tightly connected

2 NLP understanding levels

3 Python code implementation 


1 Two hearts are tightly connected

Eat barbecue together, taste the moonlight together, she is still so charming under the moonlight, which tugs at my heartstrings.

Let’s imagine the sweet and sour life side by side, those years of riding the bike and whistling together, still ringing in my ears, and the aftertaste is endless. …

Does she know magic...


2 NLP understanding levels

                       

The NLP understanding level is divided into 6 levels, the lowest level is the [environment] level, and then the upper levels are [behavior], [ability], [BVR-belief, values, principles], [identity], [spirit] level, The higher the level of understanding, the stronger the problem-solving ability.

When we think about problems in a low-level dimension, we may feel that the problem cannot be solved, and when we switch to a higher-level dimension, we may feel that the problem is very simple, and the problem itself does not even exist.

Let's look at it layer by layer and see how people at different levels of understanding deal with problems.

Then think about how not to be limited by low-level thinking, but to look at problems from a higher dimension.

Layer 1, the environment - it's all your fault

                               

At this level, people will attribute the reasons for bad things to other environments other than themselves. This "environment" includes: colleagues, family, friends, competitors, and even noise or weather. ...

Think about it, have you ever met someone who complained when you were talking. It seems that everyone has problems in his opinion, and when something bad happens, his first reaction is to blame others. He always seems to have an idea: what can I do? I can't help it, the environment (company, weather, xx people...) is like this, and I can't do anything.

The second layer, behavior - is that I haven't tried hard enough 

                          

People at this level are highly motivated, or at least proactive in their approach to problems. When they encounter problems, they attribute the cause to their own actions, because they haven't done enough and haven't worked hard enough.

So, the way they solve the problem is: I have to do something more!

So what to do? Whatever you do is fine, in their minds, as long as you do more, it will definitely pay off.

Some people may ask, why are you trying so hard and still can't succeed? It's like someone running in a random direction, day and night, and then he asks, "Why am I trying so hard and still can't get to the North Pole?"

If you want to go to the North Pole, you can take a plane, a boat, and of course you can go for a run, but the premise is that he has to run north.

The person who runs to the North Pole is at the level of [behavior]. He realizes what he needs to do, but he doesn't know what he needs to do.

And for him to realize that going to the North Pole can actually be done by plane, he needs to go to the next level of understanding.

The third layer, ability - what method can I use to solve this problem? 

                                 

The biggest difference between the [ability] layer and the [behavior] layer is that people in this layer will [choose].

The criterion for judging whether a person is competent is whether he can solve a problem quickly and efficiently compared to other people. A more intuitive expression is to judge whether a person is competent. We need to see whether he can think effectively when encountering problems. , and solve problems quickly and efficiently, or grasp all methods, regardless of whether they are effective or not.

But do all problems need to be solved? What is the nature of the problem? Is the problem you need to solve really the "problem" you think it is? That's why I love philosophy so much: looking at the essence through phenomena.

Tier 4, BVR - Beliefs, Values, Principles - What's Most Important?

                                             

B-Believe - What do you believe is right?

V-Value-values ​​- what do you value?

R-Rule-principle - what would you choose to do?

At this level, when they encounter problems, they think about:

  • What is causing this problem? What is this reason for?
  • What is most important to him in this question?
  • Which problems need to be solved? Which problems are not problems at all?
  • It is true that the higher the level of thinking, the more open the way of solving problems, but this also means that we can have more than one answer, so there is still a key question, that is , how to choose among the seemingly correct answers?

Fifth floor, identity - because I am..., so I will... 

                            

What major should I choose when applying to university? They all say that civil servants are good, should I take the exam? How to choose a job with high salary but low job value and a job with mediocre salary but good training?

Do these questions sound familiar? Why do some people make choices firmly and calmly in the face of these problems, while others hesitate, hesitate, and find it difficult even to make a decision?

People who can stand firm in their choices, they have a clear idea of ​​who they want to be, they know who they want to be, and they are willing to pay for it.

The top layer, the spirit - what do I want to do for my life and for the world 

                             

【What is the meaning of being human? ] This question involves thinking at the spiritual level, as big as what you want to contribute to the world, and as deep as you think you will have no regrets at the end of your life.

This level is too high and great, and I haven't thought about it seriously, so it's to be continued...

3 Python code implementation 

 

#~~~欢迎关注公众号:电力系统与算法之美~~~~~~~
#~~~~导入turtle模块~~~~
import turtle
import time

#~~~画心形圆弧~~~~~~~~~~~
def hart_arc():
    for i in range(200):
        turtle.right(1)
        turtle.forward(2)
def move_pen_position(x, y):
    turtle.hideturtle()  # 隐藏画笔(先)
    turtle.up()  # 提笔
    turtle.goto(x, y)  # 移动画笔到指定起始坐标(窗口中心为0,0)
    turtle.down()  # 下笔
    turtle.showturtle()  # 显示画笔


love = input("请输入表白话语:")
signature = input("请签署你的名字:")
date=input("请写上日期:")

if love == '':
    love = 'I Love You'
turtle.title('I Love You WLZ')
#~~~~~~~~~~~~~初始化~~~~~~~~~~~~~~
turtle.setup(width=800, height=500)  # 窗口(画布)大小
turtle.color('red', 'pink')  # 画笔颜色
turtle.pensize(4)  # 画笔粗细
turtle.speed(3)  # 描绘速度

#~~~~~~~~初始化画笔起始坐标~~~~~~~~~~~
move_pen_position(x=0, y=-180)  # 移动画笔位置
turtle.left(140)  # 向左旋转140度
turtle.begin_fill()  # 标记背景填充位置

#~~~~~~~~~~~~画图和展示~~~~~~~~~~~~
turtle.forward(224)  # 向前移动画笔,长度为224
# 画爱心圆弧
hart_arc()  # 左侧圆弧
turtle.left(120)  # 调整画笔角度
hart_arc()  # 右侧圆弧
# 画心形直线( 右下方 )
turtle.forward(224)

turtle.end_fill()  # 标记背景填充结束位置

move_pen_position(x=70, y=160)  # 移动画笔位置
turtle.left(185)  # 向左旋转180度
turtle.circle(-110,185)  # 右侧圆弧
#~~~~~~~~~画心形直线( 右下方 )~~~~~~~~~~
#turtle.left(20)  # 向左旋转180度
turtle.forward(50)
move_pen_position(x=-180, y=-180)  # 移动画笔位置
turtle.left(180)  # 向左旋转140度

#~~~~~~~~~画心形直线( 左下方 )~~~~~~~~~~~~~~
turtle.forward(600)  # 向前移动画笔,长度为224

# 在心形中写上表白话语
move_pen_position(0,50)  # 表白语位置
turtle.hideturtle()  # 隐藏画笔
turtle.color('#CD5C5C', 'pink')  # 字体颜色
# font:设定字体、尺寸(电脑下存在的字体都可设置)  align:中心对齐
turtle.write(love, font=('Arial', 20, 'bold'), align="center")

#~~~~~~~~~签写署名和日期~~~~~~~~~~~~~~~~~~·
if (signature != '') & (date != ''):
    turtle.color('red', 'pink')
    time.sleep(2)
    move_pen_position(220, -180)
    turtle.hideturtle()  # 隐藏画笔
    turtle.write(signature, font=('Arial', 20), align="center")
    move_pen_position(220, -220)
    turtle.hideturtle()  # 隐藏画笔
    turtle.write(date, font=('Arial', 20), align="center")

#~~~~~~点击窗口关闭程序~~~~~~~~~~
window = turtle.Screen()
window.exitonclick()

Guess you like

Origin blog.csdn.net/weixin_46039719/article/details/124091922