Lesson 2 of 34

Variables: മൂല്യങ്ങൾ സൂക്ഷിക്കൽ

7 min 20 XP

variable എന്നത് ഒരു മൂല്യം സൂക്ഷിക്കുന്ന പെട്ടി പോലെയാണ്. = ഉപയോഗിച്ച് നാം പെട്ടിയിൽ മൂല്യം വയ്ക്കുന്നു.

Example: edit me and press Run

Output Loading Python (first time takes a few seconds)
Press Run to see the result here.

variable-ന്റെ മൂല്യം എപ്പോൾ വേണമെങ്കിലും മാറ്റാം. print()-നുള്ളിൽ comma (,) ഉപയോഗിച്ചാൽ മൂല്യങ്ങൾക്കിടയിൽ space സ്വയം വരും.

Example: edit me and press Run

Output Loading Python (first time takes a few seconds)
Press Run to see the result here.

variable പേരുകളിൽ അക്ഷരങ്ങൾ, അക്കങ്ങൾ, _ എന്നിവ മാത്രം. പേര് അക്കത്തിൽ തുടങ്ങരുത്, space പാടില്ല. name-ഉം Name-ഉം വ്യത്യസ്ത variables ആണ്.

Challenge

+20 XP

course = "Python", fees = 4000 എന്നീ രണ്ട് variables ഉണ്ടാക്കി ഇങ്ങനെ print ചെയ്യൂ: Course: Python Fees: 4000

Output Loading Python (first time takes a few seconds)
Press Run to see the result here.