Get input from the user
Write a program that receives the user's name from the input and prints the following welcome message
What is your name: AmirHossein Welcome AmirHossein
Write a program that receives the user's name from the input and prints 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
Sms=input("What is your name?") print("Welcome", Sms)
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}")
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)
name = str(input('name: ')) print(name) lastname = str(input('lastname: ')) print(lastname)
Submitting answers is currently unavailable.
Write a program that can obtain the average infinite number of numbers: First, the program must receive the user's numbers (until the user does not enter the number 0, the numbers must continue ...
Write a program that the user can add and delete the student name. After each deletion or adding the student, the list of existing students should be displayed as below Choose: 1.Add 2.Rmove1name: hooshang1 ....
Write a program that gets the user's date of birth and determines how many years, months and a few days have passed since his birthday
Write a program that receives the square area from the user and prints the size of each side in the output
Write a function to get a string and return the length of the string Tip: In this exercise you should not use ready -made functions like Len in Python
Write a function that receives a list of numbers and generates 2 lists for pair and individual numbers and prints in the output example ([1,2,3,4]) Output: [1,3] [2,4] [2,4]
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام 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.