r/CodingForBeginners • • Oct 21 '26

Baby Steps, second day learning Python

Post image

Day two learning Python. Combining Print commands with Variables.

106 Upvotes

21 comments sorted by

View all comments

Show parent comment

2

u/fyknite Oct 21 '26
robot_name = "CyberPunk"
robot_health = 100
robot_coins = 25
robot_coins += 15
robot_health -= 20
robot_coins += 30
print(robot_name)
print(robot_health)
print(robot_coins)

2

u/AffectionatePlane598 Oct 23 '26

The best part of programming is learning stuff for the first time and finishing your first big project keep pushing