113k views
5 votes
Write a python program to show your name your name and roll no. in the classroom​

User ThreeDots
by
7.6k points

1 Answer

2 votes

Answer:

Certainly! Here's a simple Python program that prints your name and roll number in a classroom:

# Define your name and roll number

name = "Your Name"

roll_number = "12345"

# Print the information in the classroom

print("In the Classroom:")

print("Name: " + name)

print("Roll Number: " + roll_number)

```

Replace "Your Name" with your actual name and "12345" with your roll number. When you run this program, it will display your name and roll number in the classroom.

User Taye
by
7.9k points