Receive user profile and print on output
Write a program thatName,AgeAndCityReceive the user and print on the output
Write a program thatName,AgeAndCityReceive the user and print on the output
name = input("your name: ")
age = int(input("your age: "))
city = input("your city: ")
print(f"name : {name} , age : {age} , city : {city}")
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
a = input("name:"),input("age:"),input("city:") print(f"name:{a[0]} , age:{a[1]} , city:{a[2]}")
name = input ('Enter name: ')
age = int (input ('Enter age: '))
city = input ('Enter city: ')
print ('Name:', name)
print ('age:', age)
print ('city:', city)
Name=input(' enter your name ') Age=input(' enter your age ') City=input(' enter your City ') print (name , age , City)
class Intrdouce: def __init__(self, name,age,city): self.name=name self.age=age self.city=city def Soulotion(self): print(self.name,self.age,self.city) name=input("enter your name:") city=input("enter your city:") age=int(input("enter your age:")) obj=Intrdouce(name,city,age) print(obj.Soulotion())
print("Enter name:") x = input() print("enter age:") y = input() print("enter city:") z = input() print("name:" , x ,'\n', "age:" , y ,'\n', "city:" , z)
def main(): # Get information from the user name = input("لطفاً نام خود را وارد کنید: ") age = input("لطفاً سن خود را وارد کنید: ") city = input("لطفاً شهر خود را وارد کنید: ") # Printing the received information print("\nاطلاعات شما:") print(f"نام: {name}") print(f"سن: {age}") print(f"شهر: {city}") # Implementation of the program main()
Submitting answers is currently unavailable.
Write a program that receives a number of input and from that number to zero countdown and prints in the output
Write a program that receives the infinite number of the number with the help of a graphical interface and performs the compact, multiplication and division on them, for example the user should be able to do the results of the following actions using this ...
Create a link with the following specifications. The phrase link (click here) should be on the code-bezan.ir page Title the phrase (programming exercise) be open but open on the new page
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.