🔒 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
  • 503
    Views
  • 8
    Participants
Last reply from:
Racer_X

Online now

Members online
1,011
Guests online
708
Total visitors
1,719

Forum statistics

Threads
2,275,595
Posts
28,964,342
Members
1,231,881
Latest member
spoting
Back
Top