menu search
brightness_auto

Recent questions tagged python

Is learning C Programming language better than knowing Phyton?
thumb_up_off_alt 5 like thumb_down_off_alt 0 dislike
2 answers
How to solve Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases on windows 10?
thumb_up_off_alt 3 like thumb_down_off_alt 0 dislike
1 answer
how do i get my python program to exit and show an error message if an invalid input is entered? Here is my code import sys try: x = int(input("x: ")) y = int(input("y: ")) try: result = x / y print(f"x / y = {result}")
thumb_up_off_alt 1 like thumb_down_off_alt 1 dislike
1 answer
How to access database in Python programming?
thumb_up_off_alt 2 like thumb_down_off_alt 0 dislike
7 answers
name = input('What is your name? ') color = input('What is your favorite color? ') birth_day =input('What is your birth day? ') age = 2021 -int(birth_day) print('Hello Let me tell you about some one today. He is' +name + ' he love ' + color +' color. He was born in ' + birth_day + ' He is ' + int(age) + ' years old ') OutPut What is your name? l What is your favorite color? r What is your birth day? 1996 Traceback (most recent call last): File "C:\Users\Dell\PycharmProjects\pythonProject\hello\app.py", line 5, in <module> print('Hello Let me tell you about some one today. He is' +name + ' he love ' + color +' color. He was born in ' + birth_day + ' He is ' + int(age) + ' years old ') TypeError: can only concatenate str (not "int") to str
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
1 answer
To see more, click for the full list of questions or popular tags.
eForumAfrica, where you can ask questions and receive answers from other members of the community. Find the answer to your question, help others by answering their questions.

702 questions

637 answers

25 comments

2.5k users

...