دریافت مشخصات کاربر و چاپ در خروجی
برنامه ای بنویسید که اسم، سن و شهر کاربر را دریافت کند و در خروجی چاپ کند
برنامه ای بنویسید که اسم، سن و شهر کاربر را دریافت کند و در خروجی چاپ کند
name = input("what is your name: ")
age = input("how old are you: ")
city = input("where are you from: ")
print(name , age , city)
name = input('esm: ') age = input('sen: ') city = input('shahr: ') print(name + age + city)
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)
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))
name = input("enter your name:")
age = input("enter your age:")
city = input("enter your city name:")
Print(name , age , city)
name = input('what is your name? ')
age = input('how old are you? ')
city = input('were are you from? ')
print('__________________________________')
print(name, age, city)
print('__________________________________')
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)
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)
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))
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)
name = input("what is your name?: ") age = input("How old are you?: ") city = input("where are you from?: ") print(name ,age ,city)
name = input('enter you name : ')
age = input('enter you age : ')
city = input('enter your city name : ')
print(name, age, city)
Information=(input("name=") ,input ("age=") , input("city="))
Print(information)
name = input("enter your name:") age = input("enter your age:") city = input("enter your city name:") Print(name , age , city)
a = input("whats your name?")
b = int(input("how old are you?"))
c = input("where do you live?")
print()
print(a, b, c)
name = input("Enter your name: ") age = input("enter your age: ") city = input("Enter your city: ") print(name) print(age) print(city)
name=input("what is your name:")
age=int(input("how old are you:"))
city=input("where are you from:")
print("your name",name)
print("your age:", age)
print("your city:",city)
name = input('what is your name: ')
age = input('what is your age: ')
city = input('enter city : ')
print(name,'\n',age,'\n',Date_of_birth)
name = input("what is your name ?") age = input("age :") city = input("city :") print(name) print(age) print(city)
name=input("name:") age=input("age:") city=input("city:") print(name , age , city)
name = input('What\'s your name : ') age = int(input('How old are you : ')) city = input('In witch city are you living : ') print('name : {}\nage : {}\ncity : {}'.format(name, age, city))
name= input('whats your name?') age= input('how old you?') location=input('where are you from?') print('your name {}'.format(name)) print('your age {}'.format(age)) print('your city {}'.format(location))
print(input('age: '),',',input('name: '),',',input('city: '))
name = input("what is your full name: ")
age = input('How old are you: ')
city = input('where are you living: ')
print('your information : ',name ,'is',age,'years old and lives in',city)
a = input("your name :") b = input(" your city : ") c = input(" your age : ") print('''your name is {} your age {} your city {}'''.format(a,c,b)
name = input("Enter your name : ")
last_name = input("Enter your last name : ")
age = eval(input("Enter your age : "))
city = input("Enter your city : ")
print(f"your name : {name} and your last name : {last_name} and your age : {age} and your city : {city}")
m = input('name:')
n = int(input('age:'))
s = input('city:')
print(m , n , s)
name = input("Enter your name: ") age = input("Enter your age: ") city = input("Enter your city: ") print (f'{name}\n{age}\n{city}')
name = input('Enter your name: ')
age = input('Enter your age: ')
city = input('Enter your city: ')
print(".............")
print(f"1. your name is {name}")
print(f"2. your age is {age}")
print(f"3. your city is {city}")
def userinfo () : name=input('whats your name ? ') age=input('how old are you ? ') city=input('which city do you live ? ') print('\nname : {} \nage : {} \ncity : {}'.format(name,age,city))
esm = input("esm ra vared konid: ")
sen = input("sen khod ra vared konid: ")
shahr = input("esm shahr khod ra vared konid: ")
print("khosh omadi {} {} sale az {}".format(esm, sen, shar))
number = int(input("number : ")) list = [] for i in range(1 , number + 1) print(str(number)*number)
name = input ("what is your name? ") lastname = input ("what is your lastname? ") age = input ("how old are you? ") city = input ("where are you from? ") print (name , lastname , age , city)
name = input('enter name : ') age = int(input('enter age : ')) city = input('enter age : ') print(f'name : {name}\nage : {age}\ncity : {city}')
name = input("enter name : ") age = int(input("enter age :")) Computing = abs(age - 1403) print(f"{name} was born in {Computing}")
name , age , city = input("Enter your name, age and city : ").split() print(f"Your name is {name} and your age is {age} and you still live in {city}")
name= input(" What is your name? ") age= input("How old are you? ") city= input("Where are you from? ") print("I am ", name, " , i have ", age, " years old and i come from ", city)
name = input("نام خود را وارد کنید: ")
age = input("سن خود را وارد کنید: ")
city = input("شهر خود را وارد کنید: ")
print(f"نام شما {name} , سن شما {age} , شهر شما {city}")
برنامه گرافیکی بنویسید که داری 2 فیلد برای ورود عدد و 4 دکمه برای جمع و تفریق و ضرب و تقسیم باشد. با انتخاب هر دکمه، محاسبات مربوطه روی 2 عدد وارد شده انجام شود و نتیجه نمایش داده شود.
برنامه ای بنویسید که اعداد زوج بین 1 تا 100 را چاپ کند
تابعی بنویسید که عددی دریافت کند و اگر آن عدد، عدد اول بود True و در غیر این صورت False برگرداند
برنامه ای بنویسید که مساحت مربعی را از کاربر دریافت کند و اندازه هر ضلع را در خروجی چاپ کند
برنامه مدیریت پارکینگی بنویسید که:هنگام ورود، ساعت ورود و شماره پلاک خودرو ذخیره شودهنگام خروج، ساعت خروج برای خودرو مورد نظر ذخیره شوددر هر لحظه وضعیت خودروها (در پارکینگ، خارج شده) و سایر اطلاعات...
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام
اگه متوجه تمرین نمیشی یا به هر دلیلی نمیتونی حلش کنی، کاملا طبیعیه، اشکالی نداره؛ ناراحت نشو
😊
سعی کن تمرینات آسون تر رو ببینی و جواب های مختلفی که دیگران ارسال کرده اند رو بررسی کنی و
یواش یواش به سراغ تمرینات سخت تر بری.
همچنین ممکنه جوابت درست باشه ولی با سایر جواب ها متفاوت باشه
اگه برنامه نویسی رو هنوز شروع نکردی یا خوب یاد نگرفتی، میتونی از طریق لینک زیر یاد بگیری