About 35,600 results
Open links in new tab
  1. Python program to print your name, roll number, section, …

    In this guide, you will learn about the Python program to print your name, roll number, section, session, and department on the output screen.

  2. how to print "Hello [your_name]" in output screen of python?

    Mar 17, 2018 · So... if you want your string to be "hello [your name]" you need to put that inside the quotation marks to print it. it would look like this. print(""hello [your name]"")

  3. How to print a name iside the box on python - Studocu

    Sure, you can print a name inside a box in Python using the print function. Here's a simple way to do it: In this code: We first define the name that we want to print inside the box. We calculate the length of the name using the len function. We print the top of the box.

  4. Write a Python program that takes the user's name as input and …

    Jan 9, 2021 · If you have not learnt loops and still want to print your name one char each line, you can do something like this. name = input('Enter your name: ') print (*name,sep='\n') The *name will send the data to print statement one char at a time.

  5. Box & Name in python - Stack Overflow

    Oct 4, 2022 · Is there a way to get this to work? Have a full box and then have the name displayed in the center? users_name = input (str(" Enter Your Name: ")) print("*****...

  6. write a python program to display your name using interactive

    Nov 22, 2022 · In this article let's try to learn how to print your name interactively using python. In this Python program you have to ask a user to enter a name so that it is of string format. once the user enters a string so you have to print a welcome message and directly print your name.

  7. Problem 5 Write a program that displays yo... [FREE SOLUTION]

    The pseudocode for this process involves: 1. Print the top horizontal line "+----+" 2. Print the middle line with the name: "|Dave|" 3. Print the bottom horizontal line "+----+". This creates a simple display of the name within an ASCII-art box.

  8. Write Your Name In Python Using Turtle - Pythondex

    Jul 3, 2023 · Python Program To Write Your Name In Turtle import turtle as t name = input("Enter your name: ") t.write(name,font=("Arial", 50,"bold","italic")) t.hideturtle() t.done() Above is the code for drawing your name in turtle, as you can see in the code we first take name input from the user then we use the write method to draw that name.

  9. Write a Python Program to Print Your Name and age Take the …

    Apr 3, 2024 · print(f"Hello, {name}! You are {age} years old.") Step-by-Step Explanation. This line uses the input function to prompt the user with a message ("Enter your name: "). The user's entered text is stored in the variable name. Since input returns a …

  10. Python: Display your details like name, age, address in ... - w3resource

    Apr 16, 2025 · Write a script that asks for user details (name, age, address) and formats them into a JSON object. Write a function that takes a full name as input and returns the initials in uppercase. Write a Python program that takes user details and prints them in a …

Refresh