Answer the question
In order to leave comments, you need to log in
How to fix incorrect datetime-local field display in Safari?
Hello!
I use the type datetime-local field in my form.
On windows in normal browsers, this field has the format by which the date must be entered. There, the input data is adjusted to the desired format automatically.
And when I see this field in the Safari browser, it has no design, it is like a regular text field, which causes errors due to incorrect data entry.
Weird that the HTML option is not supported by Safari
Question, how can I fix this problem so that Safari also displays this field with this design template?
Please suggest specific code snippets or links to resources.
Thanks
Answer the question
In order to leave comments, you need to log in
Yes, almost the same:
l_1 = 3
l_2 = 4
l_3 = 5
hits = 0
guesses = 0
isSunk = False
while isSunk == False:
guess = int(input("На старт, внимание, огонь!(введите любое число от 0 до 6):"))
if guess < 0 or guess > 6:
print("Пожалуйста, введите коректную цифру")
else:
guesses += 1
if guess == l_1 or guess == l_2 or guess == l_3:
print("Попал!")
hits += 1
if hits == 3:
isSunk = True
print("Ты только что, потопил мой корабль!")
else:
print("Мимо!")
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question