Get input from the user
Write a program that receives the user's name from the input and print the following welcome message
What is your name: AmirHossein Welcome AmirHossein
Write a program that receives the user's name from the input and print the following welcome message
What is your name: AmirHossein Welcome AmirHossein
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
def greeting(name): print(f"welocm ,{name}") name=input("what's your name?") greeting(name)
name=input("نام خود را وارد کنید: ") print("خوش آمدید ",name)
# We wipe three lines # Get input from the user X = input("Esm Khod Ra Vared Konid:") # Input printing print("Welcome", X)
It was great
You're writing yourself. It was great.
a = input("your name:") print(f"welcome:{a}")
n = input("enter your name: ").strip()
if n.isalpha():
print('welcome {}'.format(n))
else:
print("""
Error!!
Username can only contain lowercase and uppercase letters.
""")
name = input("name? :") and print("wellcom " + 'name' )
This code has a problem.
The codie you wrote is this name? : Hossein Wellcom Name
# First, we ask him the name of the user name = input ("What is your name")#then print the welcome message and say print with that name Print ("Welcome", Name)
Submitting answers is currently unavailable.
Write a program that receives 2 dates in yyyy/mm/dd format and print 2 dates to the output example: 1401/11/01 tarikh2: 1401/11/05 4 days Tarikh1: 1401/10/01 Tarikh2: 1401/11/05 34 Days
Write a program that prints the number of number multiplying numbers 1 to 10
Write a program that receives any professors including name, age and city from the entrance.
Write a program that receives a number and from that number to 0 countdown is required between each number of 1 second pauses
Write a program that receives a text and a word from the user, search the word in the text, and as the example below and then put the word * and print the text in the output. Example: Input1: Hello. My name is hooshang. I ...
Write a library program that has the following features: 1- The user can register a new book 2- The user can delete recorded books 3- The user can change the specifications of the books including their name and subject ...
Write a program that receives a number and prints the first counters in the output
You must be logged in to access this section.
Login/Sign up If you don’t understand the exercise or can’t solve it for any reason, that’s completely
normal—don’t worry 😊
Try checking out easier exercises and reviewing different answers
submitted by others. Gradually, you can move on to more challenging exercises. Also, your answer
might be correct even if it’s different from others.