Apekchhya Shrestha's profileExpert

Apekchhya Shrestha

Senior Product Manager @Programiz

Answered 10 questions


About

Hey, I’m Apekchhya, Senior Product Manager at Programiz, where I spend most of my time figuring out how to make things simpler and better. Big fan of good vibes, bold moves, and building things that actually work. Outside of work, you’ll find me lost in a side project (or ten) and messing around with code just for the fun of it.

Answered by Apekchhya Shrestha
Apekchhya Shrestha
Expert
2 weeks ago

You can think of comments as helpful notes you leave in your code. They're not run by the compiler, they're just there to make the code easier to understand.

Right now, your code might be simple enough to follow without them, but as programs get more complex, comments become extremely useful, especially when someone else is reviewing your code.

Using comments early on is a great habit! They help you (and others) quickly understand what different parts of the code do, even after a long break.

Hope this helps! Feel free to ask more questions if you're curious.

C++
This question was asked as part of the Learn C++ Basics course.
M
2 weeks ago
Madoccountry asked
Apekchhya Shrestha
Expert
2 weeks ago

A quotient is the result you get when you divide one number by another. For example:

  • 10 ÷ 2 = 5 → Quotient is 5
  • 15 ÷ 3 = 5 → Quotient is 5
  • 20÷ 4 = 5 → Quotient is 5
  • 9 ÷ 2 = 4 (with remainder 1) → Quotient is 4

The quotient is just the whole number part of the division result (ignoring the remainder, unless you're working with decimals).

Hope that clears it up! Let me know if you'd like more clarification on this.

Python
This question was asked as part of the Learn Python Basics course.
Jay Harris
PRO
2 weeks ago
Jaycountry asked
Apekchhya Shrestha
Expert
2 weeks ago

Great question!

In Python, int stands for integer, which means a whole number — no decimal points.

For example:

  • 5, 100, and -3 are all integers.

You can also use the int() function in Python to convert other types into integers:

  • int(3.7) will become 3

  • int("15") will become 15

This is really useful when you're working with numbers and want to make sure you're using whole numbers for calculations.

Hope this helps! Let me know if you have more questions.

Python
This question was asked as part of the Learn Python Basics course.
naruto
2 weeks ago
Narutocountry asked
Apekchhya Shrestha
Expert
2 weeks ago

A programming language is just a way for us to give instructions to a computer. It's like learning a new language but instead of talking to people, you're telling the computer what you want it to do.

Different programming languages (like Python, Java, C++) have different styles, and they all help you build things like apps, games, websites, and more.

You're doing great asking these questions, keep them coming!

HTML
This question was asked as part of the Learn HTML course.
Dongmo Steve
2 weeks ago
Dongmocountry asked
Apekchhya Shrestha
Expert
2 weeks ago

Hi there! Linking pages in HTML is a fundamental skill that helps you create navigation between different web pages.

To link pages in HTML, you'll use the tag (known as the anchor tag). Here is how you can do it:

Programiz PRO

You can also link to another web page within the same project:

About Us

In this case, about.html is a page that's located in the same directory as the current document.

In the upcoming chapters, we will cover more of these in detail.

Feel free to ask if you have more questions or need further clarification.

HTML
This question was asked as part of the Learn HTML course.
C
2 weeks ago
Coreycountry asked
Apekchhya Shrestha
Expert
2 weeks ago

Good question!

Syntax in programming refers to the rules for how you write code, kind of like grammar in a language. If you don’t follow the rules (like missing a semicolon or a bracket), the computer won’t understand your code and will show an error.

It might feel a bit strict at first, but once you get the hang of it, it becomes second nature as you progress in your coding journey.

Let me know if you have more questions!

C++
This question was asked as part of the Learn C++ Basics course.
Ghulam Fareed
2 weeks ago
Ghulamcountry asked
Apekchhya Shrestha
Expert
2 weeks ago

Great question! Strings are used everywhere in programming because they help us work with text.

For example, your name, "Ghulam," or a message like "Hello, World!" are both strings.

You'd use strings when you need to:

  • Show text to the user, like showing their name or a greeting.

  • Store data that consists of words, like an address or a book title.

  • Manipulate text, such as searching for certain words in a sentence or combining strings together to form new sentences.

Basically, anytime you’re dealing with text-based information, strings come in handy. They're a crucial part of most programming tasks!

Let me know if that clears things up, or if you have more questions!

Python
This question was asked as part of the Learn Python Basics course.
Apekchhya Shrestha
Expert
2 weeks ago

Good question!

When we say Java is machine-independent, it means that Java code can run on any computer, no matter what type it is. You don’t need to worry about whether it’s Windows, macOS, or Linux, Java works the same way on all of them.

This is possible because Java runs on a special program called the Java Virtual Machine (JVM) that takes care of everything for you. This platform independence is a major reason why Java is so widely used. It allows developers to write once and run anywhere (often referred to as "WORA").

Let me know if you have more questions about Java or anything else!

Java
This question was asked as part of the Learn Java Basics course.
Keshava Harshith Manikyala
PRO
2 weeks ago
Keshavacountry asked
Apekchhya Shrestha
Expert
2 weeks ago

f-strings, or formatted string literals, are a simple way in Python to put variables inside a sentence.

Let’s say we have a variable age with the value 28. Without using f-string, we might write:

age = 28
print("My age is", age)

Using an f-string, the same output can be written more cleanly:

age = 28
print(f"My age is {age}")

Both versions will give the same result, but f-strings make it easier to format the output, especially when dealing with multiple variables. For example:

name = "Maria"
age = 28

print(f"My name is {name} and I am {age} years old.")

Try running the code in the code-editor to see it in action. As you move forward, the next lessons will cover the concept in even more depth.

Hope this helps! Feel free to ask if you have any more questions.

Python
This question was asked as part of the Learn Python Basics course.