Skip to main content

Posts

Showing posts with the label python hindi

Strings in Python - TipsForCse

STRINGS & CONSOLE OUTPUT Strings Another useful data type is the  string . A  string  can contain letters, numbers, and symbols. name =  "Ryan" age =  "19" food =  "cheese" In the above example, we create a variable  name  and set it to the string value  "Ryan" . We also set  age  to  "19"  and  food  to  "cheese" . Strings need to be within quotes.