تمرین برنامه نویسی؛ با کدبزن!

منبع جامع سوالات و تمرینات برنامه نویسی

8
+1
+1
+1

دریافت مشخصات کاربر و چاپ در خروجی

Admin آسان 1/ دانلود 3591 بازدید

برنامه ای بنویسید که اسم، سن و شهر کاربر را دریافت کند و در خروجی چاپ کند

52 جواب

نمیتونم این تمرین رو حل کنم!
9
+1
+1
+1
name = input("what is your name: ")
age = input("how old are you: ")
city = input("where are you from: ")

print(name , age , city)
Amirkoulivand دانلود Python
4
+1
+1
+1
name = input('esm: ')
age = input('sen: ')
city = input('shahr: ')
print(name + age + city) 
Admin دانلود Python
4
+1
+1
+1
name = input("what is your name? :")
age = input("how old are you? :")
city = input("which city do you live? :")

print(name)
print(age)
print(city) 
کاربر 48 دانلود Python
4
+1
+1
+1
print('salam khosh amadid')
x=input('your name')
y=input('your city')
z=input('your age')
print('shoma {},{}sale az shahr {} hastid'.format(x,z,y))

کاربر 442 دانلود Python
4
+1
+1
+1
name = input('what is your name? ')
age = input('how old are you? ')
city = input('were are you from? ')
print('__________________________________')
print(name, age, city)
print('__________________________________')
Amirtaha دانلود Python
3
+1
+1
+1
name = input("enter your name:")
age = input("enter your age:")
city = input("enter your city name:")
Print(name , age , city)
Afra1919 دانلود Python
2
+1
+1
Name=input(''what is your name?")

age=int(input("How old areyou? :")

city=input(''which city do you live? :")

print(Name)
print(age)
print(city)
Hamed19 دانلود Python
2
+1
+1
Name=input ("what is your name? ")
Year=input ("how old are you? ")
City=input ("what city are you in? ")
Print (Name,Year,"years","old","from", City) 
Yasin دانلود Python
1
+1
name = str(input("please enter your name: "))
age = int(input("please enter your age: "))
city = str(input("please enter which city do you live: "))
print("hi " + str(name) + " your age is " + int(age) + " and you live in " + str(city))
Aryan84 دانلود Python
1
+1
name= input ("what is your name? ")
height= input ("What is your height?")
age = input ("how old are you? ")
temp= input("What is your temp?")
print("Welcome to the app",name)
print ("temp your:",age )
print("name your:",name)
print("height your:",height)
print("age your:",age)
Hossein دانلود Python
<< صفحه قبل 1 2 6 صفحه بعد >>

ارسال جواب

/* کداتو توی این بخش بنویس
فرقی نمیکنه چه زبان برنامه نویسی باشه، همرو پشتیبانی میکنیم :)
البته قبلش این سه خط رو پاک کن */

  • تو جوابت میتونی از تصویر، کد، لینک به سایر صفحات و... استفاده کنی
  • لطفا جواب های تکراری ارسال نکن
  • جواب های ارسالی، پس از بررسی کوتاهی، ویرایش میشن و در سایت نمایش داده میشن
  • ارسال جواب حق مادی یا معنوی برای ارسال کننده ایجاد نمیکند و تمام حقوق برای سایت کدبزن محفوظ است

تمرینات مرتبط

تشخیص با استفاده از هوش مصنوعی
×
×
بستن