This is the content for assignment number 2 under the course 301. Please refer to the following details:

  • Assignment Title: Introduction to Programming
  • Due Date: March 15, 2023
  • Submission Instructions: Submit Assignment

Learning Objectives

  • Understand the basic concepts of programming.
  • Learn how to write simple programs.
  • Develop problem-solving skills.

Assignment Details

The assignment requires you to write a program that performs the following tasks:

  1. Take input from the user.
  2. Process the input.
  3. Output the result.

For example, the program can ask the user to enter their name and age, then output a personalized greeting.

Sample Code

Here is a sample code snippet that demonstrates the required functionality:

# Sample Python code
print("Please enter your name:")
name = input()

print("Please enter your age:")
age = int(input())

print(f"Hello, {name}! You are {age} years old.")

Resources

For further reading and guidance, please visit the following resources:

Python Programming