Learning for developing skill both English & Digital Technology
08/02/2025
The Love Test
One day, two colleagues Henry and Peter were having their lunch. Just then Henry started having hiccups. When Peter asked him the reason, he replied that it was due to his wife's love. When his wife missed him a lot, he had loud hiccups. Peter thought how lucky Henry was to have such a loving wife. He hurried back to his house and started scolding his wife for not missing him. Then he narrated to her the whole matter. His wife understood where the problem was. Next day, she mixed a lot of chilli powder in the lunch. When Peter sat down to eat, he had hiccups. He thought, Oh dear! Don't miss me so much. Henry laughed seeing Peter's condition.
ভ্যারিয়েবলে ডেটা সংরক্ষণ করা অথবা ভ্যালু অ্যাসাইন করা :
ভ্যারিয়েবলের মধ্যে ডেটা জমা করার জন্য আমরা চিহ্ন ব্যবহার করি। একে বলা হয় ভ্যালু অ্যাসাইন করা।
ধরি, আমাদের একটি ভ্যারিয়েবল আছে age। এখন age এর মান যদি 25 রাখতে চাই, তাহলে প্রোগ্রামে আমরা লিখব=
age=25
এই মানটি যদি প্রিন্ট করতে চাই তাহলে লিখব,
print (age)
এবার আমরা যদি পাশের প্রোগ্রামটি লিখে রান করি,
age=25
print (age)
তাহলে আমরা চিত্রের মতো আউটপুট পাব।
আবার, পুরো প্রোগ্রামে একটি ভ্যারিয়েবলের মান একাধিকবার পরিবর্তন করা সম্ভব। ভ্যারিয়েবলের মধ্যে নতুন মান অ্যাসাইন করা হলে আগের মান মুছে যায় ও সর্বশেষ অ্যসাইন করা মানটি জমা থাকে।
নিচের প্রোগ্রামটি যদি রান করি, আউটপুট তাহলে কি হবে?
age = 25
Variable Value
print (age)
25
value now-1
print(value_now)
value now-2
print(value_now)
value now-3
print(value_now)
এই প্রোগ্রামের আউটপুট নিচের ঘরে লিখে ফেলি-
1
2
3
লক্ষ্য করি, উপরের প্রোগ্রামে একই ভ্যারিয়েবল value now কে আমরা বারবার প্রিন্ট করেছি। কিন্তু একেক সময়ে ভ্যারিয়েবলটির ভেতরে জমা থাকা ডেটা ভিন্ন ছিল, তাই প্রিন্ট করার পর ভিন্ন মান পেয়েছি।
20/01/2025
Myself
My name is Tina. I am 11 years old. I live in Dhaka with my family. I love my family very much because they take care of me and teach me good things.I go to school .I read in class 5. My favorite subject is English because it is very interesting and fun to learn. I have many friends. We play and study together. In my free time, I like to play football. My favorite food is cake and I enjoy eating it with my family.I always try to be a good student and help others. I love learning new things and making my parents proud. My dream is to become a doctor and I will work hard to achieve it.
Click here to claim your Sponsored Listing.
Category
Telephone
Website
Address
41/A Jafrabad, Rayer Bazer
Dhaka
1209