1. الرئيسية
  2. /
  3. المدوّنة
  4. /
  5. المتغيرات وعملية الإدخال بالبايثون
بايثون

المتغيرات وعملية الإدخال بالبايثون

September 27, 2022 1 دقيقة قراءة 2,283
المتغيرات وعملية الإدخال بالبايثون
variable_name = "ahmed" #write the variable name directly #and give it it's value variable_name=input("----")#to input the value of the variable variable_name=int( input() ) #for only integer input variable_name = float(input("enter your name ...")) #for only float input print(variable_name)#to call the variable
شارك المقال:
اقرأ أيضاً

مقالات ذات صلة