Paper Jekyll Theme

Home Projects AboutRSS

Let's upload the code lines!

  • test
  • style

Below is a sample post demonstrating how to upload and display code lines in your GitHub blog using Markdown.

Let’s work!


01. Hello World in Python

print("Hello, World!")

This is the most basic Python command. It prints a string to the console.


02. Variables and Data Types in Python

name = "Junhee"
age = 21
is_student = True

print(f"My name is {name}, I am {age} years old.")

In this example:

  • name is a string
  • age is an integer
  • is_student is a boolean

We also use f-string formatting to print variables inside a string.

03. Testing my own code

printf("Hello world!");