DEV Community

Cover image for Understand the Simplest Program in Python
Ganesh Kumar
Ganesh Kumar

Posted on

Understand the Simplest Program in Python

Hello, I'm Ganesh Kumar, and I'm building LiveReview — a blast-radius aware AI code review built for your business-critical systems. Star us to help devs discover the project, give it a try, and share your feedback to help improve the product.

We spent a lot of time understanding the basics.

Now let's actually write one.

Writing the Simplest Program

print('yo brohh')
print('What is your name')  # Ask for their name.
my_name = input('>')
print('It is good to meet you, ' + my_name)

print('What is your age?')  # Ask for their age.
my_age = input('>')
print('You unlocked  ' + str(my_age) + ' level on earth')
Enter fullscreen mode Exit fullscreen mode

On running this program, the output will be:

yo brohh
What is your name
>allan
It is good to meet you, allan
What is your age?
>90
You unlocked  90 level living on earth
Enter fullscreen mode Exit fullscreen mode

We can clearly see that we just printed string literals in the command line.

We took input from the input() function.

Again, we asked for the input of age, and we printed it using data type conversion.

Wrapping Up

Now we have some understanding of how these core things work.

In the next article, we will understand more about conditional statements.

Instead of presenting every diff with equal emphasis, LiveReview scores each change by blast radius — how far its impact reaches through your call graph — so you can focus attention where it actually matters.

Spend code review effort where business risk is highest — not spread evenly across every diff.

⭐ Star it on GitHub:

GitHub logo HexmosTech / LiveReview

Blast-Radius Aware AI Code Review for Business-Critical Systems

LiveReview

gitleaks.yml osv-scanner.yml govulncheck.yml semgrep.yml dependabot-enabled mcp-testcases.yml

LiveReview: Blast-Radius Aware AI Code Review for Business-Critical Systems

LiveReview is an AI code reviewer that scores every hunk of a diff by blast radius: how far a change reaches through your call graph, how much persistent state it touches, and how well-tested it is. A 3-line change to a shared auth check can outrank a 300-line UI tweak. Your team's attention goes to the highest-risk code first, not spread evenly across every diff.

blast-radius-demo.mp4

LiveReview's Blast Radius & Review Priority scoring, live in the diff viewer.
















The exact math, not a black box Visualize blast radius at a glance Every factor that feeds the score

How does Blast Radius scoring work? (a more technical explanation)

Here's the goal:

  • A 3-line fix in a function used by 40 other files, that also writes to a database, should score high.
  • A 300-line UI change in one file, fully covered by…




Click below to try LiveReview with your codebase:

LiveReview Banner

Top comments (0)