🐍
পাইথন বেসিক
  • পরিচিতি
  • ইনস্টলেশন
  • ব্যাসিক কনসেপ্ট
    • পাইথন এর জন্য সেটআপ visual studio code
    • প্রথম প্রোগ্রাম রান করি
    • print ফাংশন
      • প্রিন্ট ফাংশনের প্যারামিটার
    • Comment
      • DocString
      • comment এবং docstring এর পার্থক্য
    • আইডেন্টিফাইয়ারস
  • স্ট্রিং (Strings)
  • ভেরিয়েবল
    • কন্সট্যান্টস (constants)
  • String Formating
  • ব্যবহারকারীর ইনপুট (user input)
  • Python Statement
  • indentation
  • ডেটা টাইপ
    • টাইপ কনভারশন
    • List
  • Python Operator
    • Arithmetic Operators
    • Comparison Operators
    • Logical Operators
    • Identity Operators
    • Membership Operators
    • Assignment Operator
  • Python Flow Control
    • if,else স্টেটমেন্ট
  • ফাংশন
  • ব্যক্তিগত ফাংশন
  • for লুপ
  • while লুপ
  • পাইথন মডিউল (Python module)
    • মডিউল ইম্পোর্ট করা (import Module )
      • Import from another folder
  • পাইথন প্যাকেজ ইনস্টল
  • প্যাকেজ তৈরি
  • এক্সেপশন হ্যান্ডেলিং
  • PIP
  • ফাইল হ্যান্ডেলিং
  • Databse
    • sqlite3
  • PrettyTable
  • Print Coloured Text At Python
Powered by GitBook
On this page
  • multiline কমেন্ট using কোটেশন :
  • multiline কমেন্ট তিনটি ডাবল কোটেশন ব্যবহার
  1. ব্যাসিক কনসেপ্ট
  2. Comment

DocString

multiline কমেন্ট using কোটেশন :

আমরা যদি কোনো ভ্যারিয়েবল না বানিয়ে তিনটি সিঙ্গেল বা ডাবল কোটেশন এর মধ্যে কোনো খালি স্ট্রিং লিখি পাইথন interperter কোড পড়ার সময় খালি স্ট্রিং টি docstring হিসাবে পরে যা কমেন্ট মত কাজ করে আমরা সেটাকে multiline কমেন্ট হিসাবে ব্যবহার করতে পারি।

multiline কমেন্ট তিনটি সিঙ্গেল কোটেশন ব্যবহার

'''
hello this is multi line comment
Python is a popular programming language.
Python can be used on a server to create web applications.
'''

multiline কমেন্ট তিনটি ডাবল কোটেশন ব্যবহার

"""
Python is a popular programming language.
Python can be used on a server to create web applications.
Python can be used on a server to create web applications.
"""
PreviousCommentNextcomment এবং docstring এর পার্থক্য

Last updated 1 year ago