What is Python Identifiers and Keywords

Published: 30 December 2022
on channel: w3programmers
25
2

Python Identifiers কি?
Python Identifiers হচ্ছে একটি নাম যা variable, function, class, module এবং অন্যান্য object গুলোকে আইডেন্টিফাই বা চেনার জন্য ব্যবহার করা হয়। Python Identifiers ঘোষণা করতে হলে যেকোনো ইংরেজি বর্ণ (লেটার ) (a-z, A-Z) অথবা আন্ডারস্কোর ( __ )দিয়ে শুরু করতে হয়। Python Identifiers এর নাম case sensitive.যেমন Python এর দৃষ্টিতে, a এবং A দুটি আলাদা Identifier. Identifier নামে কোনো ফাঁকা (স্পেস) থাকা যাবেনা।যদি নাম একের অধিক হয় তাহলে “_”underscore (first_name) অথবা বড় হাতের অক্ষরে(firstName) লিখতে হবে। আইডেন্টিফায়ার যেকোনো দৈর্ঘ্যের হতে পারে, তবে keyword গুলোকে আইডেন্টিফায়ার হিসাবে ব্যবহার করা যাবে না। Python Identifier গুলোর মধ্যে special symbols গুলো যেমন @ $ এবং % ইত্যাদি allow বা অনুমোদন করেনা।

Python এ Keywords কি?
Python অথবা যেকোনো Programming Language এ keywords হচ্ছে সংরক্ষিত শব্দ(word) যা সিনট্যাক্স এর অংশ। আপনি নিজের কাজের জন্য এগুলো ব্যবহার করতে পারবেননা। অর্থাৎ variable, constant, function, class অথবা অন্য কোনো আইডেন্টিফায়ার এর নাম হিসেবে এগুলো ব্যবহার করতে পারবেন না। Python এর keywords সমূহ case-sensitive.True, False এবং None কীওয়ার্ড ছাড়া অন্য সকল কিওয়ার্ডসমূহ ছোট হাতের অক্ষর(lowercase) লিখতে হয় এবং লিখার সময় হুবুহু লিখতে হবে।

Like My page:
Facebook:   / w3programmers  

Join My Group:
Facebook:   / w3programmers  

Follow me on:
Twitter:   / masudeden  
Facebook:   / masud.eden  


On this page of the site you can watch the video online What is Python Identifiers and Keywords with a duration of hours minute second in good quality, which was uploaded by the user w3programmers 30 December 2022, share the link with friends and acquaintances, this video has already been watched 25 times on youtube and it was liked by 2 viewers. Enjoy your viewing!