Posts by Henrique Nascimento • 17 points
2 posts
-
1
votes0
answers43
viewsQ: 'Useradmincreatinform' Object has no attribute 'get' Django
I was trying to send data from a user to the database and received the following error. from django import forms from django.contrib.auth.forms import UserCreationForm #from django.contrib.auth…
-
-2
votes5
answers6866
viewsA: Indicate whether a character is a vowel or a consonant
I was able to solve your question with the following code: def vogal(v): vogais = {'a':'a', 'e':'e', 'i':'i', 'o':'o', 'u':'u'} try: if vogais[v]: print('True') else: print('False') except KeyError:…
pythonanswered Henrique Nascimento 17