Python Tutorial in Hindi | f-string in Python | String in Python | String Formatting in Python

preview_player
Показать описание
Python Tutorial in Hindi | f string in Python | String in Python | String Formatting in Python
This video is part of python tutorial for beginners in hindi. In this video, I have explained about how to format string using f string. f string is latest way of formatting string. It has very simple syntax.Let's learn how to use f string in python and print nicer output.
Queries covered:-
1) f string in python
2) f string in python3
3) string formatting in python
4) string in python

Hello guys,welcome to codeyug to build your computer science skills.Here,you will learn programming tutorials and computer science tutorials from basics to advanced.

source code :-
Thanks for watching this video
Subscribe codeyug for more programming tutorials.
About this channel:-
This channel provides free tutorials on programming,coding,web development.There are programming tutorials which covers from basics to advanced absolutely in hindi.

Our social links:-
creator:-
------shantanu kejkar-------
#fstring #string #python #python3 #codeyug #programming #coding
Рекомендации по теме
Комментарии
Автор

#f string
"""
f string also know as literal string interpolation

Evey f string statement consists of two parts:
1. character 'f' or 'F'
2. string you want to format

syntax:

f"string"

example :"""

name = input("Enter your name : ")
age = int(input("age : "))
print(f" my name is {name} and my age is {age}") #{placeholder}

print(f"{5*5}")


#simple example :

def driverid(number):
return "secret_id" + number
print(f"{driverid('3495')}")

KaranSinghD-yjep
visit shbcf.ru