Posts by Nielsen Rick • 159 points
6 posts
-
1
votes2
answers52286
viewsQ: Which operator is equivalent to different in Python?
I know some other operators: Greater than: > Less than: < Equality: == But the "different" operator, as it is in Python?…
-
3
votes3
answers942
viewsQ: Number greater than 7 in a Python list
I want to know how many numbers is more than 7 on the 'a list'. Note: I’m using slicing because in the case I’m putting in practice, do not know the amount of items you have in the list. a=[5, 10,…
-
4
votes2
answers1296
viewsQ: Is it possible to add more than one item to a list at once?
I would like to know if it is possible to add more than one element to a list, for example: a=[] a.append('abóbora', 'banana', 'maçã') or it will be necessary to use three lines, for example: a=[]…
-
4
votes2
answers838
viewsQ: Basic code error in Kivy(Python)
I made a very simple code using Kivy, but give this error that shows in the image below: The code is as follows:: import kivy kivy.require('1.0.6') from kivy.app import App from kivy.uix.button…
-
0
votes2
answers49
viewsQ: How to receive more than one user command at once?
For example: nasc= input('INFORME SUA DATA DE NASCIMENTO: ') RESPOSTA= 15112002 How to separate this into DAY/MONTH/YEAR ?
-
1
votes1
answer832
viewsQ: Calling Functions in Python 3
Hello, I was "playing" without Python, and I decided to make a minigame, for the PC to play Jokempô with me (I AM BEGINNER IN PROGRAMMING). while pj <5 and pc <5: def game() But I came across…
python-3.xasked Nielsen Rick 159