Sei sulla pagina 1di 1

Learning Python

***Beautiful_Soup Library***

1. Ceil
2. Fabs
3. Copy sign
4. factorial
5. Floor

-import math (first)


Fractions
*name[0]
*name[-2]= the nth position from the end
*len(str)=length of the string

name = name + 'harsh'


where name= 'harsh'
>>>name=name[2:]=extration from the second letter rightwards
>>>name=name[:-2]=extration from the second letter from the end leftwards.

QUESTION_1: How do you change the value of a string at a location?

Potrebbero piacerti anche