Abhay Jajodia's profileExpert

Abhay Jajodia

Answered 166 questions


About

Designer by day, web developer by night, and a full-time tech + gaming nerd in between. I'm always learning, always curious — chasing life's bonus levels, secret achievements, and power-ups like it's one big epic quest.

Answered by Abhay Jajodia
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Hi guerfi,

There is no difference. f"..." and F"..." both mean an f-string, and they work the same.

Example:

name = "Alice"
print(f"Hi {name}")
print(F"Hi {name}")

Both print the same output.

If you have more questions, I am here to help 😊

Python
This question was asked as part of the Getting started with Python course.
Shashank T S
last year
Shashankcountry asked
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Hi Shashank,

Datatypes tell the computer what kind of value something is, like a number, text, or true/false. This helps the language know what operations make sense.

Common Python datatypes:

  • int for whole numbers like 5

  • float for decimals like 5.6

  • str for text like "hello"

  • bool for True or False

If you have more questions, I am here to help 😊

Python
This question was asked as part of the Getting started with Python course.
Anupama.s. Gudagur
last year
Anupama.s.country asked
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Hi Anupama.s.,

Keywords in C are reserved words that have a fixed meaning in the language, so you cannot use them as variable or function names.

Examples: int, return, if, else, for, while, break, continue.

If you have more questions, I am here to help 😊

C
This question was asked as part of the Learn C Programming course.
Sangram Soren
last year
Sangramcountry asked
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Hi Sangram,

JavaScript was created by Brendan Eich, so he is commonly called the father of JavaScript.

If you have more questions, I am here to help 😊

JS
This question was asked as part of the Learn JavaScript Basics course.
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Hi Arav,

Use an unordered list <ul> and put each bullet item inside <li>.

Example:

<ul>
  <li>Item 1</li>
  <li>Item 2</li>
  <li>Item 3</li>
</ul>

That automatically shows bullet points.

If you have more questions, I am here to help 😊

HTML
This question was asked as part of the Learn HTML course.
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Hi Joy,

<p> is an HTML tag used to create a paragraph.

  • <p> is the opening tag. It starts the paragraph.

  • </p> is the closing tag. It ends the paragraph.

Example:

<p>This is a paragraph.</p>
<p>This is another paragraph.</p>

The browser shows each paragraph on its own line with some space.

If you have more questions, I am here to help 😊

HTML
This question was asked as part of the Learn HTML course.
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Hi temidayo,

3.2 is a float, which means a number with a decimal point.

So:

  • 34 is an int

  • "dayo" is a str

  • 3.2 is a float

If you have more questions, I am here to help 😊

Python
This question was asked as part of the Getting started with Python course.
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

They are related, but not the same.

A tag is just the markup, like <p> or </p>.
An element is the whole thing: opening tag + content + closing tag.

Example:

<p>Hello</p>

Tags: <p> and </p>
Element: <p>Hello</p>

If you have more questions, I am here to help 😊

HTML
This question was asked as part of the Learn HTML course.
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Hi Harit,

Yes. Put \n inside the string where you want a new line.

Example:

print("Hello\nHow are you?")

This prints Hello on one line and How are you? on the next.

If you have more questions, I am here to help 😊

Python
This question was asked as part of the Getting started with Python course.
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Hi Harit,

Yes. Put \n inside the string where you want a new line.

Example:

print("Hello\nHow are you?")

This prints Hello on one line and How are you? on the next.

If you have more questions, I am here to help 😊

Python
This question was asked as part of the Getting started with Python course.