🔒 Closed Tanong -- bakit need lagyang ng "str" yung sa print po na variable

Status
Not open for further replies.

Racer_X

Eternal Poster
helo po . .. baguhan lang po . tanong ko lang po bakit need pa lagyan ng "str" yung variable po sa print?
pag inalis ko naman po nag eerror ... bakit po kaya need pa lagyan? yung s at d

sorry po newbie lang po .. salamat po

Screenshot_2.webp
 
i think concatenation kasi , kaya need siya lagyan ng str para ma concatenate sa " + sides +" , conversion sa string ganun
 
str() function

The str() function is used to convert the specified value into a string.

The str() function returns the string version of the given object.
 
Status
Not open for further replies.

About this Thread

  • 8
    Replies
  • 506
    Views
  • 8
    Participants
Last reply from:
Racer_X

Trending Topics

Online now

Members online
1,140
Guests online
1,350
Total visitors
2,490

Forum statistics

Threads
2,285,948
Posts
29,034,631
Members
1,217,739
Latest member
chris631
Back
Top