![]() |
To Highlight Any Text💥😀💥 : |
To Highlight any Value You just need to follow these steps:1-Take Any Variable suppose I take "g" as a variable.2-Now write input to take a input from the user.3-print the variable .center.center can centralize the valuea4-Now write the len then variable in strings .len can take the length5-Plus"+" the number as how many highlight do you what 6-After that write the symbol in string in which you want to highlight.
code:
g = input("Put the Value to Highlight :")
print(g.center(len(g)+20,"|"))
output:
Put the Value to Highlight :Najwa Note:(Najwa is the user input)||||||||||Najwa||||||||||
