txt = "Hello, World!" # 2. Characters from index 2 to 5 print(txt[2:6]) # 3. Convert to uppercase print(txt.upper()) # 4. Create name variable name = "Python" # 5. f-string print(f"I love {name}")
Prepare for your next job!! PHP,LARAVEL,MYSQL,VUEJS,React Js, AWS...lot more