Answers for "max character attribute"

CSS
0

how to define max number of character for a paragraph css

p {
  overflow: hidden;
  max-width: 75ch;
}
Posted by: Guest on October-14-2021
0

find max, min character

t = input("your text>>")
min_char = t[0]
max_char = t[0]

for item in t:
    if item<min_char:
      min_char = item
    if item>max_char:
      max_char = item

print(f"min_char: {min_char}")
print(f"max_char: {max_char}")
Posted by: Guest on July-10-2021

Browse Popular Code Answers by Language