Ask Programiz - Human Support for Coding Beginners

Explore questions from fellow beginners answered by our human experts. Have some doubts about coding fundamentals? Enroll in our course and get personalized help right within your lessons.

  • All
  • Python
  • C
  • Java
  • CPP
  • SQL
  • JS
  • HTML
  • CSS
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Hi Shifa,

\n means new line.

  • If you put it before the text, it moves to a new line first, then prints the text.

    cout << "\nHello";
    
  • If you put it after the text, it prints the text first, then moves to the next line.

    cout << "Hello\n";
    

So the difference is whether the line break happens before the message or after it.

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

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

Hi Cesar,

Self-contained content means a piece of content that can stand on its own as one complete unit.

In HTML,

is used for things like an image, diagram, or code snippet plus its caption, because they belong together.

Example:

Tiger
A tiger

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 SELVARATHINAM,

Headings are like a content outline.

is a main section, and

,

,
are smaller sub-sections under it.

If you jump from

to
, it can confuse screen readers and make the page structure harder to understand. It is better to go in order, like

then

for the next level.

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 Onyelusi,

The is for page information the browser needs, not for content the user reads on the page. Things in include the page title, meta info, links to CSS, and scripts.

The content that shows on the webpage goes inside the .

Example:


  My Page



  

This will show on the page

</code> shows in the browser tab, but the <code><h1></code> shows on the actual page.</p><p>If you have more questions, I am here to help 😊</p></div><span class="ellipsis-dot"></span></div></div><div class="question-card__tag"><div class="language-chip language-html"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.31828 14.0488L1.0957 0.33667H14.5295L13.3056 14.0467L7.80443 15.5717L2.31828 14.0488Z" fill="#25265E" fill-opacity="0.67"></path><path d="M7.8125 14.8351L12.5378 13.525L13.6496 1.07104H7.8125V14.8351Z" fill="#25265E" fill-opacity="0.67"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M5.5952 6.58916L7.8125 6.58916L7.82065 6.58916L11.2686 6.58916H11.7217L11.6808 7.04079L11.2856 11.4683L11.2603 11.7524L7.82065 12.7057V12.7066L7.81295 12.7087L4.36786 11.7524L4.13226 9.11188H5.82065L5.94028 10.453L7.8125 10.9587V10.9582L9.68822 10.452L9.88337 8.27093L7.82065 8.27093L7.8125 8.27093L4.05711 8.27093L3.64384 3.63645L3.60352 3.1853H7.8125H7.82065H12.0255L11.9853 3.63645L11.9085 4.48912L11.8748 4.86695L7.82065 4.86695L7.8125 4.86695L5.44148 4.86695L5.5952 6.58916Z" fill="white"></path></svg><span class="language-chip__label">HTML</span></div><div class="question-card__course-info">This question was asked as part of the<!-- --> <a target="_blank" rel="noopener noreferrer" class="question-card__course-info--title" href="/course/learn-html">Learn HTML</a> <!-- -->course.</div></div></div></div></div></div></div><div class="question-card"><div class="question-card__header"><div class="question-card__info"><div class="question-card__question"><div class="question-card__user-details"><div class="question-card__avatar-container"><div class="avatar-container avatar-profile question-card__profile-pic"><div class="avatar avatar--round question-card__profile-pic"><div class="img-alternative-letter">2</div></div></div></div><div class="question-card__user-details--bio"><div class="question-card__meta"><span class="question-card__question-date">last year</span></div><div class="question-card__user align-items-center"><span class="question-card__user-name">2023</span><img alt="country" loading="lazy" width="30" height="30" decoding="async" data-nimg="1" class="question-card__country-flag-wrapper" style="color:transparent" srcSet="https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/1x1/mx.svg?w=32&q=75 1x, https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/1x1/mx.svg?w=64&q=75 2x" src="https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/1x1/mx.svg?w=64&q=75"/><span class="question-card__action-label"> asked</span></div></div></div><div class="question-card__section-content"><a href="/discuss/html/what-is-metadata-2"><h3 class="question-card__title">What is metadata?</h3></a></div><div class="question-card__connector"></div></div><div class="question-card__content"><div class="question-card__user-details"><a class="question-card__avatar-container question-card__avatar-container--expert" href="/discuss/expert/sarthak"><img alt="Sarthak Baral" loading="lazy" width="100" height="100" decoding="async" data-nimg="1" class="question-card__profile-pic" style="color:transparent" src="https://cdn.programiz.pro/profile-pics/sarthak.jpeg"/><div class="question-card__badge question-card__badge--expert">Expert</div></a><div class="question-card__user-details--bio"><div class="question-card__meta"><span class="question-card__question-date">last year</span></div><div class="question-card__user align-items-center"><a class="question-card__user-name question-card__user-name--expert" href="/discuss/expert/sarthak">Sarthak Baral</a><span class="question-card__action-label"> answered</span></div></div></div><div class="question-card__section-content question-card__section-content--answer"><div class="question-card__answer"><div class="question-card__answer-content text-ellipsis-two-lines"><div class=""><p>Hi Ing RAMIREZ,</p><p>Metadata means data about data. In a webpage, metadata is information about the page, like the title, description, author, or character set.</p><p>In HTML, metadata usually goes inside the <code><head></code> and it helps the browser and search engines, even though it does not show as normal page text.</p><p>Example:</p><pre><code><head> <meta charset="UTF-8"> <meta name="description" content="Learning HTML basics"> </head> </code></pre><p>If you have more questions, I am here to help 😊</p></div><span class="ellipsis-dot"></span></div></div><div class="question-card__tag"><div class="language-chip language-html"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.31828 14.0488L1.0957 0.33667H14.5295L13.3056 14.0467L7.80443 15.5717L2.31828 14.0488Z" fill="#25265E" fill-opacity="0.67"></path><path d="M7.8125 14.8351L12.5378 13.525L13.6496 1.07104H7.8125V14.8351Z" fill="#25265E" fill-opacity="0.67"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M5.5952 6.58916L7.8125 6.58916L7.82065 6.58916L11.2686 6.58916H11.7217L11.6808 7.04079L11.2856 11.4683L11.2603 11.7524L7.82065 12.7057V12.7066L7.81295 12.7087L4.36786 11.7524L4.13226 9.11188H5.82065L5.94028 10.453L7.8125 10.9587V10.9582L9.68822 10.452L9.88337 8.27093L7.82065 8.27093L7.8125 8.27093L4.05711 8.27093L3.64384 3.63645L3.60352 3.1853H7.8125H7.82065H12.0255L11.9853 3.63645L11.9085 4.48912L11.8748 4.86695L7.82065 4.86695L7.8125 4.86695L5.44148 4.86695L5.5952 6.58916Z" fill="white"></path></svg><span class="language-chip__label">HTML</span></div><div class="question-card__course-info">This question was asked as part of the<!-- --> <a target="_blank" rel="noopener noreferrer" class="question-card__course-info--title" href="/course/learn-html">Learn HTML</a> <!-- -->course.</div></div></div></div></div></div></div><div class="question-card"><div class="question-card__header"><div class="question-card__info"><div class="question-card__question"><div class="question-card__user-details"><div class="question-card__avatar-container"><img alt="Gangadhari Pavan Siddhartha" loading="lazy" width="100" height="100" decoding="async" data-nimg="1" class="question-card__profile-pic" style="color:transparent" src="https://lh3.googleusercontent.com/a/ACg8ocJ_f5Ejv6LSJcF4797iEmqQu8kCaQamPboaSW3BA9cqizEt3A=s96-c"/></div><div class="question-card__user-details--bio"><div class="question-card__meta"><span class="question-card__question-date">last year</span></div><div class="question-card__user align-items-center"><span class="question-card__user-name">Gangadhari</span><img alt="country" loading="lazy" width="30" height="30" decoding="async" data-nimg="1" class="question-card__country-flag-wrapper" style="color:transparent" srcSet="https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/1x1/in.svg?w=32&q=75 1x, https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/1x1/in.svg?w=64&q=75 2x" src="https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/1x1/in.svg?w=64&q=75"/><span class="question-card__action-label"> asked</span></div></div></div><div class="question-card__section-content"><a href="/discuss/c/can-you-explain-when-we-should-use-int-main-versus-void-main"><h3 class="question-card__title">Can you explain when we should use int main() versus void main()?</h3></a></div><div class="question-card__connector"></div></div><div class="question-card__content"><div class="question-card__user-details"><a class="question-card__avatar-container question-card__avatar-container--expert" href="/discuss/expert/sarthak"><img alt="Sarthak Baral" loading="lazy" width="100" height="100" decoding="async" data-nimg="1" class="question-card__profile-pic" style="color:transparent" src="https://cdn.programiz.pro/profile-pics/sarthak.jpeg"/><div class="question-card__badge question-card__badge--expert">Expert</div></a><div class="question-card__user-details--bio"><div class="question-card__meta"><span class="question-card__question-date">last year</span></div><div class="question-card__user align-items-center"><a class="question-card__user-name question-card__user-name--expert" href="/discuss/expert/sarthak">Sarthak Baral</a><span class="question-card__action-label"> answered</span></div></div></div><div class="question-card__section-content question-card__section-content--answer"><div class="question-card__answer"><div class="question-card__answer-content text-ellipsis-two-lines"><div class=""><p>Hi Gangadhari,</p><p>In C, you should use <code>int main()</code> because <code>main</code> is supposed to return an integer status code to the operating system.</p><p>Example:</p><pre><code>int main() { return 0; } </code></pre><p><code>void main()</code> is not standard C, so it is best to avoid it.</p><p>If you have more questions, I am here to help 😊</p></div><span class="ellipsis-dot"></span></div></div><div class="question-card__tag"><div class="language-chip language-c"><svg width="31" height="34" viewBox="0 0 31 34" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.00592 25.6538C0.980865 25.6399 0.954293 25.6225 0.92701 25.602L0.718893 25.2849C0.598697 25.1018 0.554715 24.8895 0.554715 24.6548V9.34519C0.554715 9.19338 0.607848 8.98048 0.719397 8.7721C0.831212 8.56322 0.971594 8.41468 1.09595 8.34339C1.09628 8.3432 1.09662 8.34301 1.09696 8.34281L14.686 0.684999C14.838 0.614088 15.0612 0.554715 15.3091 0.554715C15.606 0.554715 15.7993 0.605527 15.9004 0.666816L15.9089 0.671962L15.9176 0.6768L29.6107 8.31787L29.6107 8.31792L29.618 8.32185C29.6734 8.3517 29.7365 8.39921 29.8008 8.46058L29.9721 8.83423C30.0408 8.98406 30.0551 9.12643 30.0396 9.24677L30.0351 25.0195 29.8704 25.2279C29.7585 25.4368 29.6181 25.5854 29.4938 25.6566C29.4935 25.6568 29.4931 25.657 29.4928 25.6572L15.9038 33.315C15.7517 33.3859 15.5286 33.4453 15.2807 33.4453C14.9838 33.4453 14.7905 33.3945 14.6893 33.3332L14.6814 33.3284L14.6733 33.3238L1.00858 25.6553L1.00592 25.6538ZM20.8673 13.9654L21.1409 14.4392L21.6184 14.1721L25.3039 12.1106L25.7991 11.8337L25.511 11.3449C23.4858 7.90874 19.6774 5.57463 15.3091 5.57463C8.83869 5.57463 3.55605 10.6719 3.55605 16.9863C3.55605 23.3006 8.83869 28.3979 15.3091 28.3979C19.6467 28.3979 23.4554 26.0934 25.4816 22.6844L25.77 22.1992L25.2799 21.9193L21.6228 19.8304L21.1462 19.5582L20.8689 20.0318C19.777 21.8971 17.6904 23.1656 15.3091 23.1656C11.7718 23.1656 8.918 20.3744 8.918 16.9863C8.918 13.5981 11.7718 10.8069 15.3091 10.8069C17.6896 10.8069 19.7751 12.0745 20.8673 13.9654Z" fill="#ffffff" stroke="#ffffff" stroke-width="1.10943"></path></svg><span class="language-chip__label">C</span></div><div class="question-card__course-info">This question was asked as part of the<!-- --> <a target="_blank" rel="noopener noreferrer" class="question-card__course-info--title" href="/course/learn-c-programming">Learn C Programming</a> <!-- -->course.</div></div></div></div></div></div></div><div class="question-card"><div class="question-card__header"><div class="question-card__info"><div class="question-card__question"><div class="question-card__user-details"><div class="question-card__avatar-container"><img alt="Jogblackhole " loading="lazy" width="100" height="100" decoding="async" data-nimg="1" class="question-card__profile-pic" style="color:transparent" src="https://lh3.googleusercontent.com/a/ACg8ocIESL_7xde4U494gXw9fL2S3CMyWdtf4FIwh4bYDZ03ZuGlAA=s96-c"/></div><div class="question-card__user-details--bio"><div class="question-card__meta"><span class="question-card__question-date">last year</span></div><div class="question-card__user align-items-center"><span class="question-card__user-name">Jogblackhole</span><img alt="country" loading="lazy" width="30" height="30" decoding="async" data-nimg="1" class="question-card__country-flag-wrapper" style="color:transparent" srcSet="https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/1x1/ng.svg?w=32&q=75 1x, https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/1x1/ng.svg?w=64&q=75 2x" src="https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/1x1/ng.svg?w=64&q=75"/><span class="question-card__action-label"> asked</span></div></div></div><div class="question-card__section-content"><a href="/discuss/python/what-is-the-purpose-of-brackets-like-in-python"><h3 class="question-card__title">What is the purpose of brackets like () in Python?</h3></a></div><div class="question-card__connector"></div></div><div class="question-card__content"><div class="question-card__user-details"><a class="question-card__avatar-container question-card__avatar-container--expert" href="/discuss/expert/sarthak"><img alt="Sarthak Baral" loading="lazy" width="100" height="100" decoding="async" data-nimg="1" class="question-card__profile-pic" style="color:transparent" src="https://cdn.programiz.pro/profile-pics/sarthak.jpeg"/><div class="question-card__badge question-card__badge--expert">Expert</div></a><div class="question-card__user-details--bio"><div class="question-card__meta"><span class="question-card__question-date">last year</span></div><div class="question-card__user align-items-center"><a class="question-card__user-name question-card__user-name--expert" href="/discuss/expert/sarthak">Sarthak Baral</a><span class="question-card__action-label"> answered</span></div></div></div><div class="question-card__section-content question-card__section-content--answer"><div class="question-card__answer"><div class="question-card__answer-content text-ellipsis-two-lines"><div class=""><p>Hi Jogblackhole,</p><p>In Python, <code>()</code> is mainly used to call a function and pass values into it.</p><p>Example:</p><pre><code>print("Hello") </code></pre><p>Here, <code>print()</code> is the function, and the text inside <code>()</code> is what it should print.</p><p><code>()</code> is also used to group math so Python does that part first:</p><pre><code>(2 + 3) * 4 </code></pre><p>If you have more questions, I am here to help 😊</p></div><span class="ellipsis-dot"></span></div></div><div class="question-card__tag"><div class="language-chip language-python"><svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.30308 6.77115H8.6759C9.61479 6.77115 10.3544 5.98541 10.3544 5.05288V1.87261C10.3544 0.967429 9.58726 0.287397 8.67081 0.13638C8.09084 0.0408509 7.49155 -0.00262357 6.91413 0.000122183C6.33693 0.00275353 5.80231 0.0513763 5.3173 0.13638C3.8882 0.385901 3.64553 0.908738 3.64553 1.87261V3.11015H6.99996V3.56777H2.34725C1.3659 3.56777 0.506474 4.15216 0.237773 5.26225C-0.072338 6.53445 -0.0861027 7.31229 0.237773 8.64067C0.477788 9.62937 1.05093 10.3178 2.03239 10.3178H3.18285V8.82498C3.18285 7.72244 4.15771 6.77115 5.30308 6.77115ZM5.09048 2.29672C4.74046 2.29672 4.45684 2.0131 4.45684 1.66233C4.45684 1.31008 4.74034 1.02383 5.09048 1.02383C5.43922 1.02383 5.72423 1.31008 5.72423 1.66233C5.72412 2.0131 5.4391 2.29672 5.09048 2.29672ZM13.7413 5.26225C13.4986 4.29574 13.0354 3.56777 12.0527 3.56777H10.8171V5.05288C10.8171 6.20267 9.79986 7.11437 8.6759 7.11437H5.30308C4.37911 7.11437 3.64553 7.95251 3.64553 8.86776V12.0483C3.64553 12.9532 4.42572 13.4857 5.31835 13.7454C6.38737 14.0562 7.39971 14.1124 8.67867 13.7454C9.52873 13.5018 10.3544 13.0119 10.3544 12.0483V10.7754H6.99996V10.3178H12.0527C13.034 10.3178 13.3999 9.65694 13.7413 8.64055C14.0938 7.59431 14.0786 6.60423 13.7413 5.26225ZM8.88838 11.6239C9.23852 11.6239 9.52214 11.9075 9.52214 12.2585C9.52214 12.6105 9.23863 12.8968 8.88838 12.8968C8.53964 12.8968 8.25474 12.6106 8.25474 12.2585C8.25474 11.9075 8.53964 11.6239 8.88838 11.6239Z" fill="#25265E" fill-opacity="0.67"></path></svg><span class="language-chip__label">Python</span></div><div class="question-card__course-info">This question was asked as part of the<!-- --> <a target="_blank" rel="noopener noreferrer" class="question-card__course-info--title" href="/course/learn-python-basics">Getting started with Python</a> <!-- -->course.</div></div></div></div></div></div></div><div class="question-card"><div class="question-card__header"><div class="question-card__info"><div class="question-card__question"><div class="question-card__user-details"><div class="question-card__avatar-container"><div class="avatar-container avatar-profile question-card__profile-pic"><div class="avatar avatar--round question-card__profile-pic"><div class="img-alternative-letter">T</div></div></div></div><div class="question-card__user-details--bio"><div class="question-card__meta"><span class="question-card__question-date">last year</span></div><div class="question-card__user align-items-center"><span class="question-card__user-name">Temidayo</span><img alt="country" loading="lazy" width="30" height="30" decoding="async" data-nimg="1" class="question-card__country-flag-wrapper" style="color:transparent" srcSet="https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/1x1/gb.svg?w=32&q=75 1x, https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/1x1/gb.svg?w=64&q=75 2x" src="https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/1x1/gb.svg?w=64&q=75"/><span class="question-card__action-label"> asked</span></div></div></div><div class="question-card__section-content"><a href="/discuss/javascriptdom/how-can-i-make-the-text-our-website-bold-and-italic"><h3 class="question-card__title">How can I make the text our website bold and italic?</h3></a></div><div class="question-card__connector"></div></div><div class="question-card__content"><div class="question-card__user-details"><a class="question-card__avatar-container question-card__avatar-container--expert" href="/discuss/expert/sarthak"><img alt="Sarthak Baral" loading="lazy" width="100" height="100" decoding="async" data-nimg="1" class="question-card__profile-pic" style="color:transparent" src="https://cdn.programiz.pro/profile-pics/sarthak.jpeg"/><div class="question-card__badge question-card__badge--expert">Expert</div></a><div class="question-card__user-details--bio"><div class="question-card__meta"><span class="question-card__question-date">last year</span></div><div class="question-card__user align-items-center"><a class="question-card__user-name question-card__user-name--expert" href="/discuss/expert/sarthak">Sarthak Baral</a><span class="question-card__action-label"> answered</span></div></div></div><div class="question-card__section-content question-card__section-content--answer"><div class="question-card__answer"><div class="question-card__answer-content text-ellipsis-two-lines"><div class=""><p>Hi temidayo,</p><p>Wrap just that part with bold and italic tags. Example:</p><pre><code>Thank you for visiting <b><i>our website</i></b>! </code></pre><p>If you are doing it with JavaScript, use <code>innerHTML</code> so the tags work:</p><pre><code>paragraph.innerHTML = 'Thank you for visiting <b><i>our website</i></b>!'; </code></pre><p>If you have more questions, I am here to help 😊</p></div><span class="ellipsis-dot"></span></div></div><div class="question-card__tag"><div class="question-card__course-info">This question was asked as part of the<!-- --> <a target="_blank" rel="noopener noreferrer" class="question-card__course-info--title" href="/course/learn-javascript-in-browser">JavaScript in Browser</a> <!-- -->course.</div></div></div></div></div></div></div><div class="question-card"><div class="question-card__header"><div class="question-card__info"><div class="question-card__question"><div class="question-card__user-details"><div class="question-card__avatar-container"><img alt="Rashina nilofar Rashina" loading="lazy" width="100" height="100" decoding="async" data-nimg="1" class="question-card__profile-pic" style="color:transparent" src="https://lh3.googleusercontent.com/a/ACg8ocLrZ8raBJFW4y4Gvzdd46ayzVPhFd7tlc8QkjtySWXlNJ7_Xw=s96-c"/></div><div class="question-card__user-details--bio"><div class="question-card__meta"><span class="question-card__question-date">last year</span></div><div class="question-card__user align-items-center"><span class="question-card__user-name">Rashina</span><img alt="country" loading="lazy" width="30" height="30" decoding="async" data-nimg="1" class="question-card__country-flag-wrapper" style="color:transparent" srcSet="https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/1x1/in.svg?w=32&q=75 1x, https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/1x1/in.svg?w=64&q=75 2x" src="https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/1x1/in.svg?w=64&q=75"/><span class="question-card__action-label"> asked</span></div></div></div><div class="question-card__section-content"><a href="/discuss/python/how-can-i-write-a-python-program-to-check-whether-a-value-is-a-string-or-not"><h3 class="question-card__title">How can I write a Python program to check whether a value is a string or not?</h3></a></div><div class="question-card__connector"></div></div><div class="question-card__content"><div class="question-card__user-details"><a class="question-card__avatar-container question-card__avatar-container--expert" href="/discuss/expert/sarthak"><img alt="Sarthak Baral" loading="lazy" width="100" height="100" decoding="async" data-nimg="1" class="question-card__profile-pic" style="color:transparent" src="https://cdn.programiz.pro/profile-pics/sarthak.jpeg"/><div class="question-card__badge question-card__badge--expert">Expert</div></a><div class="question-card__user-details--bio"><div class="question-card__meta"><span class="question-card__question-date">last year</span></div><div class="question-card__user align-items-center"><a class="question-card__user-name question-card__user-name--expert" href="/discuss/expert/sarthak">Sarthak Baral</a><span class="question-card__action-label"> answered</span></div></div></div><div class="question-card__section-content question-card__section-content--answer"><div class="question-card__answer"><div class="question-card__answer-content text-ellipsis-two-lines"><div class=""><p>Hi Rashina,</p><p>In Python, you can check this using <code>isinstance()</code>:</p><pre><code>value = "Hello" if isinstance(value, str): print("It is a string") else: print("It is not a string") </code></pre><p>Just replace <code>value</code> with the variable you want to test.</p><p>If you have more questions, I am here to help 😊</p></div><span class="ellipsis-dot"></span></div></div><div class="question-card__tag"><div class="language-chip language-python"><svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.30308 6.77115H8.6759C9.61479 6.77115 10.3544 5.98541 10.3544 5.05288V1.87261C10.3544 0.967429 9.58726 0.287397 8.67081 0.13638C8.09084 0.0408509 7.49155 -0.00262357 6.91413 0.000122183C6.33693 0.00275353 5.80231 0.0513763 5.3173 0.13638C3.8882 0.385901 3.64553 0.908738 3.64553 1.87261V3.11015H6.99996V3.56777H2.34725C1.3659 3.56777 0.506474 4.15216 0.237773 5.26225C-0.072338 6.53445 -0.0861027 7.31229 0.237773 8.64067C0.477788 9.62937 1.05093 10.3178 2.03239 10.3178H3.18285V8.82498C3.18285 7.72244 4.15771 6.77115 5.30308 6.77115ZM5.09048 2.29672C4.74046 2.29672 4.45684 2.0131 4.45684 1.66233C4.45684 1.31008 4.74034 1.02383 5.09048 1.02383C5.43922 1.02383 5.72423 1.31008 5.72423 1.66233C5.72412 2.0131 5.4391 2.29672 5.09048 2.29672ZM13.7413 5.26225C13.4986 4.29574 13.0354 3.56777 12.0527 3.56777H10.8171V5.05288C10.8171 6.20267 9.79986 7.11437 8.6759 7.11437H5.30308C4.37911 7.11437 3.64553 7.95251 3.64553 8.86776V12.0483C3.64553 12.9532 4.42572 13.4857 5.31835 13.7454C6.38737 14.0562 7.39971 14.1124 8.67867 13.7454C9.52873 13.5018 10.3544 13.0119 10.3544 12.0483V10.7754H6.99996V10.3178H12.0527C13.034 10.3178 13.3999 9.65694 13.7413 8.64055C14.0938 7.59431 14.0786 6.60423 13.7413 5.26225ZM8.88838 11.6239C9.23852 11.6239 9.52214 11.9075 9.52214 12.2585C9.52214 12.6105 9.23863 12.8968 8.88838 12.8968C8.53964 12.8968 8.25474 12.6106 8.25474 12.2585C8.25474 11.9075 8.53964 11.6239 8.88838 11.6239Z" fill="#25265E" fill-opacity="0.67"></path></svg><span class="language-chip__label">Python</span></div><div class="question-card__course-info">This question was asked as part of the<!-- --> <a target="_blank" rel="noopener noreferrer" class="question-card__course-info--title" href="/course/number-guessing-game">Number Guessing Game</a> <!-- -->course.</div></div></div></div></div></div></div><div class="question-card"><div class="question-card__header"><div class="question-card__info"><div class="question-card__question"><div class="question-card__user-details"><div class="question-card__avatar-container"><img alt="Nafees fatima" loading="lazy" width="100" height="100" decoding="async" data-nimg="1" class="question-card__profile-pic" style="color:transparent" src="https://lh3.googleusercontent.com/a/ACg8ocL-Xqn5XywIYavsA8KoQfuobbp4YAn8qo_XTDQkQFT79B7gkQ=s96-c"/></div><div class="question-card__user-details--bio"><div class="question-card__meta"><span class="question-card__question-date">last year</span></div><div class="question-card__user align-items-center"><span class="question-card__user-name">Nafees</span><img alt="country" loading="lazy" width="30" height="30" decoding="async" data-nimg="1" class="question-card__country-flag-wrapper" style="color:transparent" srcSet="https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/1x1/pk.svg?w=32&q=75 1x, https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/1x1/pk.svg?w=64&q=75 2x" src="https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/1x1/pk.svg?w=64&q=75"/><span class="question-card__action-label"> asked</span></div></div></div><div class="question-card__section-content"><a href="/discuss/python/i-want-to-learn-python-from-a-to-z-how-should-i-start"><h3 class="question-card__title">I want to learn Python from A to Z. How should I start?</h3></a></div><div class="question-card__connector"></div></div><div class="question-card__content"><div class="question-card__user-details"><a class="question-card__avatar-container question-card__avatar-container--expert" href="/discuss/expert/sarthak"><img alt="Sarthak Baral" loading="lazy" width="100" height="100" decoding="async" data-nimg="1" class="question-card__profile-pic" style="color:transparent" src="https://cdn.programiz.pro/profile-pics/sarthak.jpeg"/><div class="question-card__badge question-card__badge--expert">Expert</div></a><div class="question-card__user-details--bio"><div class="question-card__meta"><span class="question-card__question-date">last year</span></div><div class="question-card__user align-items-center"><a class="question-card__user-name question-card__user-name--expert" href="/discuss/expert/sarthak">Sarthak Baral</a><span class="question-card__action-label"> answered</span></div></div></div><div class="question-card__section-content question-card__section-content--answer"><div class="question-card__answer"><div class="question-card__answer-content text-ellipsis-two-lines"><div class=""><p>Hi Nafees,</p><p>Start with the basics and move step by step, practicing each topic with small programs.</p><p>A simple order to follow is:</p><ul><li><p>Variables, numbers, strings</p></li><li><p>If else, loops</p></li><li><p>Functions</p></li><li><p>Lists, tuples, sets, dictionaries</p></li><li><p>File handling</p></li><li><p>Errors and exceptions</p></li><li><p>OOP (classes and objects)</p></li><li><p>Small projects to practice</p></li></ul><p>The key is to write code every day, even 20 minutes, and build tiny projects like a calculator, quiz, or to-do list.</p><p>If you have more questions, I am here to help 😊</p></div><span class="ellipsis-dot"></span></div></div><div class="question-card__tag"><div class="language-chip language-python"><svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.30308 6.77115H8.6759C9.61479 6.77115 10.3544 5.98541 10.3544 5.05288V1.87261C10.3544 0.967429 9.58726 0.287397 8.67081 0.13638C8.09084 0.0408509 7.49155 -0.00262357 6.91413 0.000122183C6.33693 0.00275353 5.80231 0.0513763 5.3173 0.13638C3.8882 0.385901 3.64553 0.908738 3.64553 1.87261V3.11015H6.99996V3.56777H2.34725C1.3659 3.56777 0.506474 4.15216 0.237773 5.26225C-0.072338 6.53445 -0.0861027 7.31229 0.237773 8.64067C0.477788 9.62937 1.05093 10.3178 2.03239 10.3178H3.18285V8.82498C3.18285 7.72244 4.15771 6.77115 5.30308 6.77115ZM5.09048 2.29672C4.74046 2.29672 4.45684 2.0131 4.45684 1.66233C4.45684 1.31008 4.74034 1.02383 5.09048 1.02383C5.43922 1.02383 5.72423 1.31008 5.72423 1.66233C5.72412 2.0131 5.4391 2.29672 5.09048 2.29672ZM13.7413 5.26225C13.4986 4.29574 13.0354 3.56777 12.0527 3.56777H10.8171V5.05288C10.8171 6.20267 9.79986 7.11437 8.6759 7.11437H5.30308C4.37911 7.11437 3.64553 7.95251 3.64553 8.86776V12.0483C3.64553 12.9532 4.42572 13.4857 5.31835 13.7454C6.38737 14.0562 7.39971 14.1124 8.67867 13.7454C9.52873 13.5018 10.3544 13.0119 10.3544 12.0483V10.7754H6.99996V10.3178H12.0527C13.034 10.3178 13.3999 9.65694 13.7413 8.64055C14.0938 7.59431 14.0786 6.60423 13.7413 5.26225ZM8.88838 11.6239C9.23852 11.6239 9.52214 11.9075 9.52214 12.2585C9.52214 12.6105 9.23863 12.8968 8.88838 12.8968C8.53964 12.8968 8.25474 12.6106 8.25474 12.2585C8.25474 11.9075 8.53964 11.6239 8.88838 11.6239Z" fill="#25265E" fill-opacity="0.67"></path></svg><span class="language-chip__label">Python</span></div><div class="question-card__course-info">This question was asked as part of the<!-- --> <a target="_blank" rel="noopener noreferrer" class="question-card__course-info--title" href="/course/learn-python-basics">Getting started with Python</a> <!-- -->course.</div></div></div></div></div></div></div></div><div class="discuss-home__pagination"><nav class="pagination" aria-label="Page navigation"><div class="pagination__list"><div class="pagination__item"><a class="pagination__link pagination__link--prev" aria-label="Go to previous page" href="/discuss?page=15"><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="18" width="18" xmlns="http://www.w3.org/2000/svg"><polyline points="15 18 9 12 15 6"></polyline></svg><span>Previous</span></a></div><ul class="pagination__list--items"><li class="pagination__item"><a class="pagination__link" aria-label="Go to page 1" href="/discuss?page=1">1</a></li><li class="pagination__item pagination__item--ellipsis"><span class="pagination__ellipsis">…</span></li><li class="pagination__item"><a class="pagination__link" aria-label="Go to page 15" href="/discuss?page=15">15</a></li><li class="pagination__item pagination__item--active"><a class="pagination__link" aria-current="page" aria-label="Go to page 16" href="/discuss?page=16">16</a></li><li class="pagination__item"><a class="pagination__link" aria-label="Go to page 17" href="/discuss?page=17">17</a></li><li class="pagination__item pagination__item--ellipsis"><span class="pagination__ellipsis">…</span></li><li class="pagination__item"><a class="pagination__link" aria-label="Go to page 38" href="/discuss?page=38">38</a></li></ul><div class="pagination__item"><a class="pagination__link pagination__link--next" aria-label="Go to next page" href="/discuss?page=17"><span>Next</span><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="18" width="18" xmlns="http://www.w3.org/2000/svg"><polyline points="9 18 15 12 9 6"></polyline></svg></a></div></div></nav></div></div><div class="discuss-home__expert-container"><h3 class="discuss-home__expert-title">Our Experts</h3><ul class="discuss-home__expert-list"><li><a class="discuss-home__expert-list__item" href="/discuss/expert/sudip"><div class="discuss-home__expert-list__item--avatar-wrapper"><img alt="Sudip Bhandari's profile" loading="lazy" decoding="async" data-nimg="fill" class="discuss-home__expert-list__item--avatar" style="position:absolute;height:100%;width:100%;left:0;top:0;right:0;bottom:0;color:transparent" src="https://cdn.programiz.pro/profile-pics/sudip.jpg"/></div><div class="discuss-home__expert-list__item--info"><div class="discuss-home__expert-list__item--name">Sudip Bhandari</div><div class="discuss-home__expert-list__item--role">Head of Growth/Marketing </div></div></a></li><li><a class="discuss-home__expert-list__item" href="/discuss/expert/apekchhya"><div class="discuss-home__expert-list__item--avatar-wrapper"><img alt="Apekchhya Shrestha's profile" loading="lazy" decoding="async" data-nimg="fill" class="discuss-home__expert-list__item--avatar" style="position:absolute;height:100%;width:100%;left:0;top:0;right:0;bottom:0;color:transparent" src="https://cdn.programiz.pro/profile-pics/apekchhya.png"/></div><div class="discuss-home__expert-list__item--info"><div class="discuss-home__expert-list__item--name">Apekchhya Shrestha</div><div class="discuss-home__expert-list__item--role">Senior Product Manager </div></div></a></li><li><a class="discuss-home__expert-list__item" href="/discuss/expert/kelish"><div class="discuss-home__expert-list__item--avatar-wrapper"><img alt="Kelish Rai's profile" loading="lazy" decoding="async" data-nimg="fill" class="discuss-home__expert-list__item--avatar" style="position:absolute;height:100%;width:100%;left:0;top:0;right:0;bottom:0;color:transparent" src="https://cdn.programiz.pro/profile-pics/kelish.jpg"/></div><div class="discuss-home__expert-list__item--info"><div class="discuss-home__expert-list__item--name">Kelish Rai</div><div class="discuss-home__expert-list__item--role">Technical Content Writer </div></div></a></li><li><a class="discuss-home__expert-list__item" href="/discuss/expert/abhilekh"><div class="discuss-home__expert-list__item--avatar-wrapper"><img alt="Abhilekh Gautam's profile" loading="lazy" decoding="async" data-nimg="fill" class="discuss-home__expert-list__item--avatar" style="position:absolute;height:100%;width:100%;left:0;top:0;right:0;bottom:0;color:transparent" src="https://cdn.programiz.pro/profile-pics/abhilekh.jpeg"/></div><div class="discuss-home__expert-list__item--info"><div class="discuss-home__expert-list__item--name">Abhilekh Gautam</div><div class="discuss-home__expert-list__item--role">System Engineer</div></div></a></li><li><a class="discuss-home__expert-list__item" href="/discuss/expert/palistha"><div class="discuss-home__expert-list__item--avatar-wrapper"><img alt="Palistha Singh's profile" loading="lazy" decoding="async" data-nimg="fill" class="discuss-home__expert-list__item--avatar" style="position:absolute;height:100%;width:100%;left:0;top:0;right:0;bottom:0;color:transparent" src="https://cdn.programiz.pro/profile-pics/palistha.jpg"/></div><div class="discuss-home__expert-list__item--info"><div class="discuss-home__expert-list__item--name">Palistha Singh</div><div class="discuss-home__expert-list__item--role">Technical Content Writer </div></div></a></li><li><a class="discuss-home__expert-list__item" href="/discuss/expert/sarthak"><div class="discuss-home__expert-list__item--avatar-wrapper"><img alt="Sarthak Baral's profile" loading="lazy" decoding="async" data-nimg="fill" class="discuss-home__expert-list__item--avatar" style="position:absolute;height:100%;width:100%;left:0;top:0;right:0;bottom:0;color:transparent" src="https://cdn.programiz.pro/profile-pics/sarthak.jpeg"/></div><div class="discuss-home__expert-list__item--info"><div class="discuss-home__expert-list__item--name">Sarthak Baral</div><div class="discuss-home__expert-list__item--role">Senior Content Editor </div></div></a></li><li><a class="discuss-home__expert-list__item" href="/discuss/expert/user_40"><div class="discuss-home__expert-list__item--avatar-wrapper"><img alt="Saujanya Poudel's profile" loading="lazy" decoding="async" data-nimg="fill" class="discuss-home__expert-list__item--avatar" style="position:absolute;height:100%;width:100%;left:0;top:0;right:0;bottom:0;color:transparent" src="https://cdn.programiz.pro/profile-pics/saujanya.jpg"/></div><div class="discuss-home__expert-list__item--info"><div class="discuss-home__expert-list__item--name">Saujanya Poudel</div><div class="discuss-home__expert-list__item--role"></div></div></a></li><li><a class="discuss-home__expert-list__item" href="/discuss/expert/abhay"><div class="discuss-home__expert-list__item--avatar-wrapper"><img alt="Abhay Jajodia's profile" loading="lazy" decoding="async" data-nimg="fill" class="discuss-home__expert-list__item--avatar" style="position:absolute;height:100%;width:100%;left:0;top:0;right:0;bottom:0;color:transparent" src="https://cdn.programiz.pro/profile-pics/abhay.jpg"/></div><div class="discuss-home__expert-list__item--info"><div class="discuss-home__expert-list__item--name">Abhay Jajodia</div><div class="discuss-home__expert-list__item--role"></div></div></a></li><li><a class="discuss-home__expert-list__item" href="/discuss/expert/nisha"><div class="discuss-home__expert-list__item--avatar-wrapper"><img alt="Nisha Sharma's profile" loading="lazy" decoding="async" data-nimg="fill" class="discuss-home__expert-list__item--avatar" style="position:absolute;height:100%;width:100%;left:0;top:0;right:0;bottom:0;color:transparent" src="https://cdn.programiz.pro/profile-pics/nisha.jpg"/></div><div class="discuss-home__expert-list__item--info"><div class="discuss-home__expert-list__item--name">Nisha Sharma</div><div class="discuss-home__expert-list__item--role">Technical Content Writer </div></div></a></li><li><a class="discuss-home__expert-list__item" href="/discuss/expert/udayan"><div class="discuss-home__expert-list__item--avatar-wrapper"><img alt="Udayan Shakya's profile" loading="lazy" decoding="async" data-nimg="fill" class="discuss-home__expert-list__item--avatar" style="position:absolute;height:100%;width:100%;left:0;top:0;right:0;bottom:0;color:transparent" src="https://cdn.programiz.pro/profile-pics/udayan.png"/></div><div class="discuss-home__expert-list__item--info"><div class="discuss-home__expert-list__item--name">Udayan Shakya</div><div class="discuss-home__expert-list__item--role">Technical Content Writer </div></div></a></li></ul></div></div></section></main><footer class="pro-footer dark"><div class="container"><ul class="pro-footer-nav"><li class="pro-footer-nav-section"><h4>Courses</h4><nav><ul><li><a href="/catalog?languages=python" class="pro-footer__link" title="Python" data-testid="footer-link">Python</a></li><li><a href="/catalog?languages=sql" class="pro-footer__link" title="SQL" data-testid="footer-link">SQL</a></li><li><a href="/catalog?languages=html" class="pro-footer__link" title="HTML/CSS" data-testid="footer-link">HTML/CSS</a></li><li><a href="/catalog?languages=javascript" class="pro-footer__link" title="JavaScript" data-testid="footer-link">JavaScript</a></li><li><a href="/catalog?languages=c" class="pro-footer__link" title="C Programming" data-testid="footer-link">C Programming</a></li><li><a href="/catalog?languages=cpp" class="pro-footer__link" title="C++" data-testid="footer-link">C++</a></li><li><a href="/catalog?languages=java" class="pro-footer__link" title="Java" data-testid="footer-link">Java</a></li><li><a href="/catalog?category=projects" class="pro-footer__link" title="Projects" data-testid="footer-link">Projects</a></li><li><a href="/catalog" class="pro-footer__link highlight" title="" data-testid="footer-link">All Courses <svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="18" width="18" xmlns="http://www.w3.org/2000/svg"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg></a></li></ul></nav></li><li class="pro-footer-nav-section"><h4>Challenges</h4><nav><ul><li><a href="/community-challenges/python" class="pro-footer__link" title="Python Challenges" data-testid="footer-link">Python Challenges</a></li><li><a href="/community-challenges/c" class="pro-footer__link" title="C Challenges" data-testid="footer-link">C Challenges</a></li><li><a href="/community-challenges/cpp" class="pro-footer__link" title="C++ Challenges" data-testid="footer-link">C++ Challenges</a></li><li><a href="/community-challenges/java" class="pro-footer__link" title="Java Challenges" data-testid="footer-link">Java Challenges</a></li><li><a href="/community-challenges/javascript" class="pro-footer__link" title="JavaScript Challenges" data-testid="footer-link">JavaScript Challenges</a></li><li><a href="/community-challenges/sql" class="pro-footer__link" title="SQL Challenges" data-testid="footer-link">SQL Challenges</a></li></ul></nav></li><li class="pro-footer-nav-section"><h4>Resources</h4><nav><ul><li><a href="https://programiz.pro/pricing" class="pro-footer__link" title="Pricing" data-testid="footer-link">Pricing</a></li><li><a href="https://programiz.pro/resources" class="pro-footer__link" title="Blog" data-testid="footer-link">Blog</a></li><li><a href="https://programiz.pro/testimonials" class="pro-footer__link" title="Testimonials" data-testid="footer-link">Testimonials</a></li><li><a href="https://programiz.pro/newsroom" class="pro-footer__link" title="Newsroom" data-testid="footer-link">Newsroom</a></li><li><a href="https://programiz.pro/discuss" class="pro-footer__link" title="Discuss" data-testid="footer-link">Discuss</a></li><li><a href="https://programiz.pro/for-educators" class="pro-footer__link" title="For Educators" data-testid="footer-link">For Educators</a></li></ul></nav></li><li class="pro-footer-nav-section"><h4>Company</h4><nav><ul><li><a href="/about" class="pro-footer__link" title="About Us" data-testid="footer-link">About Us</a></li><li><a href="/contact" class="pro-footer__link" title="Contact Us" data-testid="footer-link">Contact Us</a></li><li><a href="/faq" class="pro-footer__link" title="FAQs" data-testid="footer-link">FAQs</a></li><li><a href="/support" class="pro-footer__link" title="Support" data-testid="footer-link">Support</a></li></ul></nav></li></ul><div class="pro-footer-bottom"><ul class="bottom-left"><li><a href="/" title="Home" data-testid="logo-link"><img src="data:image/svg+xml,%3csvg width='128' height='41' viewBox='0 0 128 41' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9.05371 17.3491C9.05371 17.1397 9.1651 16.9462 9.34611 16.841L13.1876 14.609C13.3835 14.4952 13.629 14.6365 13.629 14.863V31.027C13.629 31.1393 13.538 31.2304 13.4257 31.2304H9.25706C9.14475 31.2304 9.05371 31.1393 9.05371 31.027V17.3491Z' fill='white' fill-opacity='0.87'/%3e%3cpath d='M9.05371 16.684C9.05371 16.6114 9.09243 16.5443 9.15529 16.508L13.3239 14.0983C13.4595 14.0199 13.629 14.1177 13.629 14.2743L13.629 22.588C13.629 22.7565 13.4925 22.893 13.324 22.893H9.35874C9.19028 22.893 9.05371 22.7565 9.05371 22.588V16.684Z' fill='white' fill-opacity='0.87'/%3e%3cpath d='M20.614 13.8518L9.46209 20.255C9.20948 20.4 9.05371 20.6691 9.05371 20.9604V25.7145L21.1211 18.7473C21.3728 18.602 21.5278 18.3335 21.5278 18.0429V14.3809C21.5278 13.9119 21.0207 13.6183 20.614 13.8518Z' fill='white' fill-opacity='0.87'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.54504 25.4319C9.25723 25.5869 9.06008 25.8885 9.05355 26.2368V25.1531L9.54504 25.4319Z' fill='white' fill-opacity='0.87'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.0929 18.764C21.1335 18.6673 21.1559 18.561 21.1559 18.4496C21.1559 18.2766 21.1019 18.1161 21.0098 17.9843L21.5299 17.6899V18.0421C21.5299 18.3324 21.3751 18.6008 21.1237 18.7462L21.0929 18.764Z' fill='white' fill-opacity='0.87'/%3e%3cpath d='M21.0161 17.9982C20.8767 17.5695 13.7254 12.7655 8.80318 9.43762C8.63711 9.32533 8.71754 9.06662 8.918 9.06662L14.7804 9.06658C14.8216 9.06658 14.8619 9.07913 14.8958 9.10255L21.1781 13.4366C21.3981 13.5885 21.5296 13.8388 21.5296 14.1062L21.5296 17.6998L21.0161 17.9982Z' fill='white' fill-opacity='0.87'/%3e%3cpath d='M24.4604 22.4383C24.2897 22.3867 24.0336 22.3522 23.7775 22.3522C23.0946 22.3522 22.019 22.6276 21.5751 23.5912V22.4383H19.0654V30.9902H21.6605V27.2563C21.6605 25.5528 22.5995 24.9333 23.6409 24.9333C23.897 24.9333 24.1702 24.9505 24.4604 25.0194V22.4383Z' fill='white' fill-opacity='0.87'/%3e%3cpath d='M29.8271 28.8393C28.8539 28.8393 27.9149 28.1339 27.9149 26.7057C27.9149 25.2603 28.8539 24.5892 29.8271 24.5892C30.8173 24.5892 31.7392 25.2603 31.7392 26.7057C31.7392 28.1511 30.8173 28.8393 29.8271 28.8393ZM29.8271 22.1802C27.3003 22.1802 25.3199 24.0558 25.3199 26.7057C25.3199 29.3556 27.3003 31.2484 29.8271 31.2484C32.3709 31.2484 34.3343 29.3556 34.3343 26.7057C34.3343 24.0558 32.3709 22.1802 29.8271 22.1802Z' fill='white' fill-opacity='0.87'/%3e%3cpath d='M35.4072 31.472C35.6462 33.0035 37.1998 34.5177 39.6412 34.5177C42.8167 34.5177 44.1825 32.384 44.1825 29.9234V22.4383H41.707V23.3503C41.468 22.9029 40.7338 22.2834 39.351 22.2834C37.0291 22.2834 35.4072 24.2106 35.4072 26.4648C35.4072 28.8393 37.0974 30.6289 39.351 30.6289C40.5802 30.6289 41.3143 30.1299 41.6216 29.6653V30.0611C41.6216 31.6097 40.8192 32.2464 39.5217 32.2464C38.5485 32.2464 37.8656 31.6441 37.6949 30.8182L35.4072 31.472ZM39.829 28.3575C38.7876 28.3575 38.0022 27.6348 38.0022 26.4648C38.0022 25.2947 38.8558 24.572 39.829 24.572C40.8021 24.572 41.6387 25.2947 41.6387 26.4648C41.6387 27.6348 40.8875 28.3575 39.829 28.3575Z' fill='white' fill-opacity='0.87'/%3e%3cpath d='M51.77 22.4383C51.5993 22.3867 51.3432 22.3522 51.0871 22.3522C50.4042 22.3522 49.3286 22.6276 48.8847 23.5912V22.4383H46.375V30.9902H48.9701V27.2563C48.9701 25.5528 49.9091 24.9333 50.9505 24.9333C51.2066 24.9333 51.4797 24.9505 51.77 25.0194V22.4383Z' fill='white' fill-opacity='0.87'/%3e%3cpath d='M52.8986 28.6329C52.8986 29.9922 53.9742 31.2311 55.8351 31.2311C56.9619 31.2311 57.7814 30.7493 58.2253 30.0266C58.2253 30.6117 58.2936 30.9214 58.3107 30.9902H60.6496C60.6326 30.9042 60.5472 30.3364 60.5472 29.6653V25.484C60.5472 23.7288 59.5399 22.1802 56.7912 22.1802C54.2986 22.1802 53.1718 23.7977 53.0694 25.0194L55.323 25.484C55.3742 24.8473 55.8693 24.2278 56.7741 24.2278C57.5936 24.2278 58.0204 24.658 58.0204 25.157C58.0204 25.4495 57.8668 25.6732 57.4058 25.7421L55.4083 26.0518C54.0084 26.2583 52.8986 27.1186 52.8986 28.6329ZM56.4668 29.3384C55.7498 29.3384 55.4595 28.9082 55.4595 28.4608C55.4595 27.8585 55.8693 27.6004 56.4156 27.5144L58.0204 27.2563V27.6348C58.0204 28.9598 57.2351 29.3384 56.4668 29.3384Z' fill='white' fill-opacity='0.87'/%3e%3cpath d='M65.3258 30.9902V26.069C65.3258 25.2947 65.8209 24.5892 66.7258 24.5892C67.6648 24.5892 68.0916 25.2258 68.0916 26.0346V30.9902H70.6525V26.0518C70.6525 25.2947 71.1476 24.5892 72.0695 24.5892C72.9914 24.5892 73.4183 25.2258 73.4183 26.0346V30.9902H75.9279V25.4495C75.9279 23.1266 74.3914 22.1802 72.7866 22.1802C71.6427 22.1802 70.8232 22.5587 70.1574 23.5223C69.7306 22.6792 68.8598 22.1802 67.6477 22.1802C66.7258 22.1802 65.6331 22.662 65.2063 23.4191V22.4383H62.7308V30.9902H65.3258Z' fill='white' fill-opacity='0.87'/%3e%3cpath d='M91.2554 30.9902V28.7361H87.2775L91.1871 24.5892V22.4383H84.2386V24.6752H87.8751L84.1361 28.6845V30.9902H91.2554Z' fill='white' fill-opacity='0.87'/%3e%3cpath d='M81.2543 30.9724H78.2705L79.1483 25.3659H78.2705V22.2412H82.1268V25.3659L81.2543 30.9724Z' fill='white' fill-opacity='0.87'/%3e%3cpath d='M82.1268 16.5957H78.2705V20.2927H82.1268V16.5957Z' fill='white' fill-opacity='0.87'/%3e%3crect x='96.9414' y='16.8032' width='29.729' height='15.5108' rx='1.77728' stroke='white' stroke-opacity='0.87' stroke-width='1.77728'/%3e%3cpath d='M107.13 22.9346C107.13 21.4073 105.937 20.2256 104.343 20.2256H101.656V28.1406H103.429V25.6324H104.343C105.937 25.6324 107.13 24.4618 107.13 22.9346ZM105.413 22.9346C105.413 23.5143 104.956 23.9713 104.321 23.9713H103.429V21.8978H104.321C104.956 21.8978 105.413 22.3437 105.413 22.9346ZM108.265 28.1406H110.037V24.8743H110.327L112.958 28.1406H115.087L112.289 24.6513C113.292 24.2946 113.838 23.6369 113.838 22.6113C113.838 21.2958 112.88 20.2256 111.386 20.2256H108.265V28.1406ZM110.037 23.3693V21.8532H111.174C111.698 21.8532 112.077 22.1319 112.077 22.6113C112.077 23.0683 111.698 23.3693 111.174 23.3693H110.037ZM118.997 28.2744C121.249 28.2744 123.088 26.435 123.088 24.1831C123.088 21.9313 121.249 20.0919 118.997 20.0919C116.734 20.0919 114.906 21.9313 114.906 24.1831C114.906 26.435 116.734 28.2744 118.997 28.2744ZM118.997 26.5576C117.704 26.5576 116.689 25.4651 116.689 24.1831C116.689 22.9011 117.704 21.8086 118.997 21.8086C120.279 21.8086 121.294 22.9011 121.294 24.1831C121.294 25.4651 120.279 26.5576 118.997 26.5576Z' fill='white' fill-opacity='0.87'/%3e%3c/svg%3e" alt="Programiz PRO Logo" title="Programiz PRO Logo" class="programiz-logo programiz-logo--footer"/></a></li><li><ul class="privacy-container"><li><a href="/privacy-policy" class="pro-footer__link" title="Privacy Policy" data-testid="footer-link">Privacy Policy</a></li><li><a href="/terms-of-service" class="pro-footer__link" title="Terms of Service" data-testid="footer-link">Terms of Service</a></li></ul></li><li><ul class="pro-footer-social"><li><a href="https://www.facebook.com/programiz.pro" target="_blank" class="social-link" title="Facebook" rel="noreferrer"><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="18" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"></path></svg></a></li><li><a href="https://www.instagram.com/programiz.pro/" target="_blank" class="social-link" title="Instagram" rel="noreferrer"><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="18" width="18" xmlns="http://www.w3.org/2000/svg"><rect x="2" y="2" width="20" height="20" rx="5" ry="5"></rect><path d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"></path><line x1="17.5" y1="6.5" x2="17.51" y2="6.5"></line></svg></a></li><li><a href="https://www.linkedin.com/company/programiz/" target="_blank" class="social-link" title="LinkedIn" rel="noreferrer"><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="18" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"></path><rect x="2" y="9" width="4" height="12"></rect><circle cx="4" cy="4" r="2"></circle></svg></a></li><li><a href="https://x.com/programiz" target="_blank" class="social-link" title="Twitter" rel="noreferrer"><svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="mask0_232_6070" maskUnits="userSpaceOnUse" x="0" y="0" width="19" height="18"><path d="M0.5 0H18.5V18H0.5V0Z" fill="white"></path></mask><g mask="url(#mask0_232_6070)"><path d="M14.675 0.84375H17.4354L11.4054 7.75318L18.5 17.1569H12.9457L8.59229 11.4548L3.61657 17.1569H0.853571L7.30271 9.76404L0.5 0.845036H6.19571L10.1249 6.05604L14.675 0.84375ZM13.7043 15.5009H15.2343L5.36 2.41361H3.71943L13.7043 15.5009Z" fill="white" fill-opacity="0.67"></path></g></svg></a></li><li><a href="https://www.youtube.com/@programizstudios" target="_blank" class="social-link" title="Youtube" rel="noreferrer"><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="18" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z"></path><polygon points="9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"></polygon></svg></a></li><li><a href="https://www.reddit.com/r/Programiz/" target="_blank" class="social-link" title="Reddit" rel="noreferrer"><svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="9.5" cy="9" r="8.5" stroke="white" stroke-opacity="0.67"></circle><path fill-rule="evenodd" clip-rule="evenodd" d="M13.2037 5.46982C13.7198 5.46982 14.1383 5.05138 14.1383 4.5352C14.1383 4.01903 13.7198 3.60059 13.2037 3.60059C12.8309 3.60059 12.509 3.81885 12.359 4.13457C11.9738 4.04348 10.3879 3.66981 10.2967 3.6698C10.1928 3.66978 10.014 3.69736 9.95054 3.87749L9.29285 6.99288L9.30115 6.99671C7.93271 7.03846 6.7009 7.44608 5.80306 8.08238C5.56416 7.83741 5.23048 7.6853 4.86128 7.6853C4.13482 7.6853 3.5459 8.27422 3.5459 9.00069C3.5459 9.54254 3.87354 10.0079 4.34151 10.2094C4.31888 10.3467 4.30725 10.4863 4.30725 10.6278C4.30725 12.6351 6.64742 14.2624 9.53417 14.2624C12.4209 14.2624 14.7611 12.6351 14.7611 10.6278C14.7611 10.4761 14.7477 10.3266 14.7218 10.1798C15.1554 9.96476 15.4535 9.51754 15.4535 9.00069C15.4535 8.27422 14.8646 7.6853 14.1381 7.6853C13.7834 7.6853 13.4614 7.82573 13.2249 8.05403C12.3344 7.43664 11.1256 7.04122 9.78443 6.99726L10.3659 4.15442L12.2706 4.5888C12.2983 5.08004 12.7055 5.46982 13.2037 5.46982ZM7.45732 10.8701C7.97349 10.8701 8.39194 10.4516 8.39194 9.93547C8.39194 9.4193 7.97349 9.00085 7.45732 9.00085C6.94115 9.00085 6.52271 9.4193 6.52271 9.93547C6.52271 10.4516 6.94115 10.8701 7.45732 10.8701ZM12.4767 9.93547C12.4767 10.4516 12.0582 10.8701 11.542 10.8701C11.0259 10.8701 10.6074 10.4516 10.6074 9.93547C10.6074 9.4193 11.0259 9.00085 11.542 9.00085C12.0582 9.00085 12.4767 9.4193 12.4767 9.93547ZM7.83613 12.1505C7.69012 12.0548 7.57328 11.9782 7.49151 11.9782C7.31843 11.9782 7.28381 12.082 7.28381 12.082C7.24108 12.1456 7.22752 12.1915 7.2492 12.2897C7.31852 12.4628 7.68672 12.7068 8.25304 12.9128C8.25304 12.9128 8.87612 13.0859 9.53381 13.0859C10.1915 13.0859 10.7454 12.9128 10.7454 12.9128C11.1242 12.792 11.3794 12.6801 11.7146 12.4282C11.8877 12.1859 11.7492 11.9436 11.4723 11.9782C11.4723 11.9782 11.23 12.1512 11.0915 12.2551C10.953 12.3589 10.6415 12.4282 10.6415 12.4282C10.6415 12.4282 10.2607 12.6012 9.53381 12.6012C8.80689 12.6012 8.42612 12.4628 8.42612 12.4628C8.19856 12.3882 7.99916 12.2574 7.83613 12.1505Z" fill="white" fill-opacity="0.67"></path></svg></a></li></ul></li></ul><small class="bottom-right copyright">© <!-- -->2026<!-- --> Parewa Labs Pvt. Ltd. All rights reserved.</small></div></div></footer><div class="Toastify" id="toast-container"></div><div class="Toastify" id="toast-container-v2"></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"shouldPersistHeaderBorder":true,"questions":{"total":374,"items":[{"question":{"content":"What is the difference between writing \\n before a string and after a string in C++?","slug":"what-is-the-difference-between-writing-n-before-a-string-and-after-a-string-in","userCode":"","askedOn":"2025-10-13T14:42:47.39478","metaContentDetail":{"course":{"title":"Learn C++ Basics","slug":"learn-cpp-basics","language":"CPP"},"section":{"title":"Introduction"},"sectionContent":{"title":"Print Output","slug":"print-output"},"sectionContentPage":{"pageNumber":6}},"user":{"fullName":"Shifa Rizwan BS(CS) 2025 FAST NU LHR","profilePic":"https://lh3.googleusercontent.com/a/ACg8ocLkI160LAXHMJfbsu77Z8N9vK2TCz68NWVwIAVyNbUvWYFhJQ=s96-c","country":{"code":"PK","name":"Pakistan"},"isSubscriptionActive":false}},"answers":[{"content":"\u003cp\u003eHi Shifa,\u003c/p\u003e\u003cp\u003e\u003ccode\u003e\\n\u003c/code\u003e means new line.\u003c/p\u003e\u003cul\u003e\u003cli\u003e\u003cp\u003eIf you put it \u003cstrong\u003ebefore\u003c/strong\u003e the text, it moves to a new line first, then prints the text.\u003c/p\u003e\u003cpre\u003e\u003ccode\u003ecout \u003c\u003c \"\\nHello\";\n\u003c/code\u003e\u003c/pre\u003e\u003c/li\u003e\u003cli\u003e\u003cp\u003eIf you put it \u003cstrong\u003eafter\u003c/strong\u003e the text, it prints the text first, then moves to the next line.\u003c/p\u003e\u003cpre\u003e\u003ccode\u003ecout \u003c\u003c \"Hello\\n\";\n\u003c/code\u003e\u003c/pre\u003e\u003c/li\u003e\u003c/ul\u003e\u003cp\u003eSo the difference is whether the line break happens before the message or after it.\u003c/p\u003e\u003cp\u003eIf you have more questions, I am here to help 😊\u003c/p\u003e","expertDetail":{"fullName":"Abhay Jajodia","profilePic":"https://cdn.programiz.pro/profile-pics/abhay.jpg","userName":"abhay"},"answeredOn":"2025-12-18T06:03:16.360478"}]},{"question":{"content":"What does self-contained content mean in HTML?\n","slug":"what-does-self-contained-content-mean-in-html","userCode":"","askedOn":"2025-10-13T13:14:17.90244","metaContentDetail":{"course":{"title":"Learn HTML","slug":"learn-html","language":"HTML"},"section":{"title":"HTML Links and Images"},"sectionContent":{"title":"HTML Images","slug":"html-images"},"sectionContentPage":{"pageNumber":11}},"user":{"fullName":"Cesar Delos Reyes","profilePic":"https://lh3.googleusercontent.com/a/ACg8ocLJOfr6z9MAVRcEeq5jTjO8j0VSWwvMH4063jVniOqvius=s96-c","country":{"code":"PH","name":"Philippines"},"isSubscriptionActive":false}},"answers":[{"content":"\u003cp\u003eHi Cesar,\u003c/p\u003e\u003cp\u003eSelf-contained content means a piece of content that can stand on its own as one complete unit.\u003c/p\u003e\u003cp\u003eIn HTML, \u003ccode\u003e\u003cfigure\u003e\u003c/code\u003e is used for things like an image, diagram, or code snippet plus its caption, because they belong together.\u003c/p\u003e\u003cp\u003eExample:\u003c/p\u003e\u003cpre\u003e\u003ccode\u003e\u003cfigure\u003e\n \u003cimg src=\"tiger.png\" alt=\"Tiger\"\u003e\n \u003cfigcaption\u003eA tiger\u003c/figcaption\u003e\n\u003c/figure\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003cp\u003eIf you have more questions, I am here to help 😊\u003c/p\u003e","expertDetail":{"fullName":"Abhay Jajodia","profilePic":"https://cdn.programiz.pro/profile-pics/abhay.jpg","userName":"abhay"},"answeredOn":"2025-12-18T06:04:43.329467"}]},{"question":{"content":"Why should we avoid skipping heading levels in HTML, like using \u003ch2\u003e and then jumping directly to \u003ch5\u003e?","slug":"why-should-we-avoid-skipping-heading-levels-in-html-like-using-h2-and-then-j","userCode":"\u003ch2\u003e Types of Operating Systems\u003c/h2\u003e\n\n\u003ch3\u003eWindows\u003c/h3\u003e\n\u003cp\u003eWindows is the most popular operating system.\u003c/p\u003e\n\n\u003ch5\u003emacOs\u003c/h5\u003e\n\u003cp\u003emacOs is created by Apple.\u003c/p\u003e\n\n\u003ch4\u003eLinux\u003c/h4\u003e\n\u003cp\u003eLinux is a free operating system.\u003c/p\u003e","askedOn":"2025-10-12T11:57:40.248195","metaContentDetail":{"course":{"title":"Learn HTML","slug":"learn-html","language":"HTML"},"section":{"title":"HTML Basics"},"sectionContent":{"title":"Text Fundamentals","slug":"text-fundamentals"},"sectionContentPage":{"pageNumber":9}},"user":{"fullName":"SELVARATHINAM ","profilePic":"https://lh3.googleusercontent.com/a/ACg8ocK-8AuO5LDpqksRp6DmktAZfXfLyOs8gtdBTQdpuD0whbZC=s96-c","country":{"code":"IN","name":"India"},"isSubscriptionActive":false}},"answers":[{"content":"\u003cp\u003eHi SELVARATHINAM,\u003c/p\u003e\u003cp\u003eHeadings are like a content outline. \u003ccode\u003e\u003ch2\u003e\u003c/code\u003e is a main section, and \u003ccode\u003e\u003ch3\u003e\u003c/code\u003e, \u003ccode\u003e\u003ch4\u003e\u003c/code\u003e, \u003ccode\u003e\u003ch5\u003e\u003c/code\u003e are smaller sub-sections under it.\u003c/p\u003e\u003cp\u003eIf you jump from \u003ccode\u003e\u003ch2\u003e\u003c/code\u003e to \u003ccode\u003e\u003ch5\u003e\u003c/code\u003e, it can confuse screen readers and make the page structure harder to understand. It is better to go in order, like \u003ccode\u003e\u003ch2\u003e\u003c/code\u003e then \u003ccode\u003e\u003ch3\u003e\u003c/code\u003e for the next level.\u003c/p\u003e\u003cp\u003eIf you have more questions, I am here to help 😊\u003c/p\u003e","expertDetail":{"fullName":"Abhay Jajodia","profilePic":"https://cdn.programiz.pro/profile-pics/abhay.jpg","userName":"abhay"},"answeredOn":"2025-12-18T06:05:28.234309"}]},{"question":{"content":"Why is the content inside the \u003chead\u003e section not shown on the webpage? I thought it would display when the code runs.","slug":"why-is-the-content-inside-the-head-section-not-shown-on-the-webpage-i-though","userCode":"","askedOn":"2025-10-09T11:47:48.280985","metaContentDetail":{"course":{"title":"Learn HTML","slug":"learn-html","language":"HTML"},"section":{"title":"Introduction to HTML"},"sectionContent":{"title":"HTML Document Structure","slug":"html-document-structure"},"sectionContentPage":{"pageNumber":3}},"user":{"fullName":"Onyelusi Anthonia","profilePic":null,"country":{"code":"NG","name":"Nigeria"},"isSubscriptionActive":false}},"answers":[{"content":"\u003cp\u003eHi Onyelusi,\u003c/p\u003e\u003cp\u003eThe \u003ccode\u003e\u003chead\u003e\u003c/code\u003e is for page information the browser needs, not for content the user reads on the page. Things in \u003ccode\u003e\u003chead\u003e\u003c/code\u003e include the page title, meta info, links to CSS, and scripts.\u003c/p\u003e\u003cp\u003eThe content that shows on the webpage goes inside the \u003ccode\u003e\u003cbody\u003e\u003c/code\u003e.\u003c/p\u003e\u003cp\u003eExample:\u003c/p\u003e\u003cpre\u003e\u003ccode\u003e\u003chead\u003e\n \u003ctitle\u003eMy Page\u003c/title\u003e\n\u003c/head\u003e\n\n\u003cbody\u003e\n \u003ch1\u003eThis will show on the page\u003c/h1\u003e\n\u003c/body\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003cp\u003e\u003ccode\u003e\u003ctitle\u003e\u003c/code\u003e shows in the browser tab, but the \u003ccode\u003e\u003ch1\u003e\u003c/code\u003e shows on the actual page.\u003c/p\u003e\u003cp\u003eIf you have more questions, I am here to help 😊\u003c/p\u003e","expertDetail":{"fullName":"Abhay Jajodia","profilePic":"https://cdn.programiz.pro/profile-pics/abhay.jpg","userName":"abhay"},"answeredOn":"2025-12-18T06:06:19.931913"}]},{"question":{"content":"What is metadata?","slug":"what-is-metadata-2","userCode":"","askedOn":"2025-10-07T23:50:26.378348","metaContentDetail":{"course":{"title":"Learn HTML","slug":"learn-html","language":"HTML"},"section":{"title":"Introduction to HTML"},"sectionContent":{"title":"HTML Document Structure","slug":"html-document-structure"},"sectionContentPage":{"pageNumber":3}},"user":{"fullName":"2023 Ing RAMIREZ TENTLE JOSE MANUEL","profilePic":null,"country":{"code":"MX","name":"Mexico"},"isSubscriptionActive":false}},"answers":[{"content":"\u003cp\u003eHi Ing RAMIREZ,\u003c/p\u003e\u003cp\u003eMetadata means data about data. In a webpage, metadata is information about the page, like the title, description, author, or character set.\u003c/p\u003e\u003cp\u003eIn HTML, metadata usually goes inside the \u003ccode\u003e\u003chead\u003e\u003c/code\u003e and it helps the browser and search engines, even though it does not show as normal page text.\u003c/p\u003e\u003cp\u003eExample:\u003c/p\u003e\u003cpre\u003e\u003ccode\u003e\u003chead\u003e\n \u003cmeta charset=\"UTF-8\"\u003e\n \u003cmeta name=\"description\" content=\"Learning HTML basics\"\u003e\n\u003c/head\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003cp\u003eIf you have more questions, I am here to help 😊\u003c/p\u003e","expertDetail":{"fullName":"Sarthak Baral","profilePic":"https://cdn.programiz.pro/profile-pics/sarthak.jpeg","userName":"sarthak"},"answeredOn":"2025-12-18T06:10:39.230982"},{"content":"\u003cp\u003eHi Ing RAMIREZ,\u003c/p\u003e\u003cp\u003eMetadata means data about data. In a webpage, metadata is information about the page, like the title, description, author, or character set.\u003c/p\u003e\u003cp\u003eIn HTML, metadata usually goes inside the \u003ccode\u003e\u003chead\u003e\u003c/code\u003e and it helps the browser and search engines, even though it does not show as normal page text.\u003c/p\u003e\u003cp\u003eExample:\u003c/p\u003e\u003cpre\u003e\u003ccode\u003e\u003chead\u003e\n \u003cmeta charset=\"UTF-8\"\u003e\n \u003cmeta name=\"description\" content=\"Learning HTML basics\"\u003e\n\u003c/head\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003cp\u003eIf you have more questions, I am here to help 😊\u003c/p\u003e","expertDetail":{"fullName":"Sarthak Baral","profilePic":"https://cdn.programiz.pro/profile-pics/sarthak.jpeg","userName":"sarthak"},"answeredOn":"2025-12-18T06:10:51.717323"}]},{"question":{"content":"Can you explain when we should use int main() versus void main()?","slug":"can-you-explain-when-we-should-use-int-main-versus-void-main","userCode":"","askedOn":"2025-10-07T23:17:53.753499","metaContentDetail":{"course":{"title":"Learn C Programming","slug":"learn-c-programming","language":"C"},"section":{"title":"Introduction"},"sectionContent":{"title":"Variables","slug":"variables"},"sectionContentPage":{"pageNumber":4}},"user":{"fullName":"Gangadhari Pavan Siddhartha","profilePic":"https://lh3.googleusercontent.com/a/ACg8ocJ_f5Ejv6LSJcF4797iEmqQu8kCaQamPboaSW3BA9cqizEt3A=s96-c","country":{"code":"IN","name":"India"},"isSubscriptionActive":false}},"answers":[{"content":"\u003cp\u003eHi Gangadhari,\u003c/p\u003e\u003cp\u003eIn C, you should use \u003ccode\u003eint main()\u003c/code\u003e because \u003ccode\u003emain\u003c/code\u003e is supposed to return an integer status code to the operating system.\u003c/p\u003e\u003cp\u003eExample:\u003c/p\u003e\u003cpre\u003e\u003ccode\u003eint main() {\n return 0;\n}\n\u003c/code\u003e\u003c/pre\u003e\u003cp\u003e\u003ccode\u003evoid main()\u003c/code\u003e is not standard C, so it is best to avoid it.\u003c/p\u003e\u003cp\u003eIf you have more questions, I am here to help 😊\u003c/p\u003e","expertDetail":{"fullName":"Sarthak Baral","profilePic":"https://cdn.programiz.pro/profile-pics/sarthak.jpeg","userName":"sarthak"},"answeredOn":"2025-12-18T06:12:50.554783"}]},{"question":{"content":"What is the purpose of brackets like () in Python?","slug":"what-is-the-purpose-of-brackets-like-in-python","userCode":"","askedOn":"2025-10-07T22:57:54.116338","metaContentDetail":{"course":{"title":"Getting started with Python","slug":"learn-python-basics","language":"Python"},"section":{"title":"Introduction to Python fundamentals"},"sectionContent":{"title":"Get Started","slug":"get-started"},"sectionContentPage":{"pageNumber":3}},"user":{"fullName":"Jogblackhole ","profilePic":"https://lh3.googleusercontent.com/a/ACg8ocIESL_7xde4U494gXw9fL2S3CMyWdtf4FIwh4bYDZ03ZuGlAA=s96-c","country":{"code":"NG","name":"Nigeria"},"isSubscriptionActive":false}},"answers":[{"content":"\u003cp\u003eHi Jogblackhole,\u003c/p\u003e\u003cp\u003eIn Python, \u003ccode\u003e()\u003c/code\u003e is mainly used to call a function and pass values into it.\u003c/p\u003e\u003cp\u003eExample:\u003c/p\u003e\u003cpre\u003e\u003ccode\u003eprint(\"Hello\")\n\u003c/code\u003e\u003c/pre\u003e\u003cp\u003eHere, \u003ccode\u003eprint()\u003c/code\u003e is the function, and the text inside \u003ccode\u003e()\u003c/code\u003e is what it should print.\u003c/p\u003e\u003cp\u003e\u003ccode\u003e()\u003c/code\u003e is also used to group math so Python does that part first:\u003c/p\u003e\u003cpre\u003e\u003ccode\u003e(2 + 3) * 4\n\u003c/code\u003e\u003c/pre\u003e\u003cp\u003eIf you have more questions, I am here to help 😊\u003c/p\u003e","expertDetail":{"fullName":"Sarthak Baral","profilePic":"https://cdn.programiz.pro/profile-pics/sarthak.jpeg","userName":"sarthak"},"answeredOn":"2025-12-18T06:13:38.07896"}]},{"question":{"content":"How can I make the text our website bold and italic?","slug":"how-can-i-make-the-text-our-website-bold-and-italic","userCode":"// Replace ___ with your solution.\nfunction modifyWebsite(){\n var paragraph = document.querySelectorAll(\"p\");\n paragraph.textContent = \"Thank you for visiting our website\";\n}","askedOn":"2025-10-07T18:09:03.575787","metaContentDetail":{"course":{"title":"JavaScript in Browser","slug":"learn-javascript-in-browser","language":"JavascriptDOM"},"section":{"title":"Getting Started"},"sectionContent":{"title":"Modifying HTML","slug":"modifying-html"},"sectionContentPage":{"pageNumber":7}},"user":{"fullName":"temidayo dada","profilePic":null,"country":{"code":"GB","name":"United Kingdom"},"isSubscriptionActive":false}},"answers":[{"content":"\u003cp\u003eHi temidayo,\u003c/p\u003e\u003cp\u003eWrap just that part with bold and italic tags. Example:\u003c/p\u003e\u003cpre\u003e\u003ccode\u003eThank you for visiting \u003cb\u003e\u003ci\u003eour website\u003c/i\u003e\u003c/b\u003e!\n\u003c/code\u003e\u003c/pre\u003e\u003cp\u003eIf you are doing it with JavaScript, use \u003ccode\u003einnerHTML\u003c/code\u003e so the tags work:\u003c/p\u003e\u003cpre\u003e\u003ccode\u003eparagraph.innerHTML = 'Thank you for visiting \u003cb\u003e\u003ci\u003eour website\u003c/i\u003e\u003c/b\u003e!';\n\u003c/code\u003e\u003c/pre\u003e\u003cp\u003eIf you have more questions, I am here to help 😊\u003c/p\u003e","expertDetail":{"fullName":"Sarthak Baral","profilePic":"https://cdn.programiz.pro/profile-pics/sarthak.jpeg","userName":"sarthak"},"answeredOn":"2025-12-18T06:15:24.500259"}]},{"question":{"content":"How can I write a Python program to check whether a value is a string or not?","slug":"how-can-i-write-a-python-program-to-check-whether-a-value-is-a-string-or-not","userCode":"[]","askedOn":"2025-10-07T17:26:40.865518","metaContentDetail":{"course":{"title":"Number Guessing Game","slug":"number-guessing-game","language":"Python"},"section":{"title":"Introduction to the Project"},"sectionContent":{"title":"Getting Started","slug":"getting-started"},"sectionContentPage":{"pageNumber":3}},"user":{"fullName":"Rashina nilofar Rashina","profilePic":"https://lh3.googleusercontent.com/a/ACg8ocLrZ8raBJFW4y4Gvzdd46ayzVPhFd7tlc8QkjtySWXlNJ7_Xw=s96-c","country":{"code":"IN","name":"India"},"isSubscriptionActive":false}},"answers":[{"content":"\u003cp\u003eHi Rashina,\u003c/p\u003e\u003cp\u003eIn Python, you can check this using \u003ccode\u003eisinstance()\u003c/code\u003e:\u003c/p\u003e\u003cpre\u003e\u003ccode\u003evalue = \"Hello\"\n\nif isinstance(value, str):\n print(\"It is a string\")\nelse:\n print(\"It is not a string\")\n\u003c/code\u003e\u003c/pre\u003e\u003cp\u003eJust replace \u003ccode\u003evalue\u003c/code\u003e with the variable you want to test.\u003c/p\u003e\u003cp\u003eIf you have more questions, I am here to help 😊\u003c/p\u003e","expertDetail":{"fullName":"Sarthak Baral","profilePic":"https://cdn.programiz.pro/profile-pics/sarthak.jpeg","userName":"sarthak"},"answeredOn":"2025-12-18T06:17:05.171267"}]},{"question":{"content":"I want to learn Python from A to Z. How should I start?","slug":"i-want-to-learn-python-from-a-to-z-how-should-i-start","userCode":"","askedOn":"2025-10-07T17:20:42.809056","metaContentDetail":{"course":{"title":"Getting started with Python","slug":"learn-python-basics","language":"Python"},"section":{"title":"Introduction to Python fundamentals"},"sectionContent":{"title":"Get Started","slug":"get-started"},"sectionContentPage":{"pageNumber":1}},"user":{"fullName":"Nafees fatima","profilePic":"https://lh3.googleusercontent.com/a/ACg8ocL-Xqn5XywIYavsA8KoQfuobbp4YAn8qo_XTDQkQFT79B7gkQ=s96-c","country":{"code":"PK","name":"Pakistan"},"isSubscriptionActive":false}},"answers":[{"content":"\u003cp\u003eHi Nafees,\u003c/p\u003e\u003cp\u003eStart with the basics and move step by step, practicing each topic with small programs.\u003c/p\u003e\u003cp\u003eA simple order to follow is:\u003c/p\u003e\u003cul\u003e\u003cli\u003e\u003cp\u003eVariables, numbers, strings\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003cp\u003eIf else, loops\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003cp\u003eFunctions\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003cp\u003eLists, tuples, sets, dictionaries\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003cp\u003eFile handling\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003cp\u003eErrors and exceptions\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003cp\u003eOOP (classes and objects)\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003cp\u003eSmall projects to practice\u003c/p\u003e\u003c/li\u003e\u003c/ul\u003e\u003cp\u003eThe key is to write code every day, even 20 minutes, and build tiny projects like a calculator, quiz, or to-do list.\u003c/p\u003e\u003cp\u003eIf you have more questions, I am here to help 😊\u003c/p\u003e","expertDetail":{"fullName":"Sarthak Baral","profilePic":"https://cdn.programiz.pro/profile-pics/sarthak.jpeg","userName":"sarthak"},"answeredOn":"2025-12-18T06:17:46.775941"}]}]},"languages":["all","Python","C","Java","CPP","SQL","Javascript","HTML","CSS"],"experts":[{"displayName":"Sudip Bhandari","userName":"sudip","profilePic":"https://cdn.programiz.pro/profile-pics/sudip.jpg","jobTitle":"Head of Growth/Marketing @Programiz","totalAnsweredQuestions":18},{"displayName":"Apekchhya Shrestha","userName":"apekchhya","profilePic":"https://cdn.programiz.pro/profile-pics/apekchhya.png","jobTitle":"Senior Product Manager @Programiz","totalAnsweredQuestions":10},{"displayName":"Kelish Rai","userName":"kelish","profilePic":"https://cdn.programiz.pro/profile-pics/kelish.jpg","jobTitle":"Technical Content Writer @Programiz","totalAnsweredQuestions":89},{"displayName":"Abhilekh Gautam","userName":"abhilekh","profilePic":"https://cdn.programiz.pro/profile-pics/abhilekh.jpeg","jobTitle":"System Engineer","totalAnsweredQuestions":7},{"displayName":"Palistha Singh","userName":"palistha","profilePic":"https://cdn.programiz.pro/profile-pics/palistha.jpg","jobTitle":"Technical Content Writer @Programiz","totalAnsweredQuestions":10},{"displayName":"Sarthak Baral","userName":"sarthak","profilePic":"https://cdn.programiz.pro/profile-pics/sarthak.jpeg","jobTitle":"Senior Content Editor @Programiz","totalAnsweredQuestions":17},{"displayName":"Saujanya Poudel","userName":"user_40","profilePic":"https://cdn.programiz.pro/profile-pics/saujanya.jpg","jobTitle":"","totalAnsweredQuestions":7},{"displayName":"Abhay Jajodia","userName":"abhay","profilePic":"https://cdn.programiz.pro/profile-pics/abhay.jpg","jobTitle":"","totalAnsweredQuestions":166},{"displayName":"Nisha Sharma","userName":"nisha","profilePic":"https://cdn.programiz.pro/profile-pics/nisha.jpg","jobTitle":"Technical Content Writer @Programiz","totalAnsweredQuestions":9},{"displayName":"Udayan Shakya","userName":"udayan","profilePic":"https://cdn.programiz.pro/profile-pics/udayan.png","jobTitle":"Technical Content Writer @Programiz","totalAnsweredQuestions":18}]},"__N_SSP":true},"page":"/discuss","query":{"page":"16"},"buildId":"z8IK5g57JLIqtheQ_VmXi","isFallback":false,"isExperimentalCompile":false,"gssp":true,"scriptLoader":[]}</script></body></html>