Forwarded from Python Questions
Anonymous Poll
26%
True
23%
False
20%
Error
10%
ABC
21%
Invalid Statement
Forwarded from Python Projects
Forwarded from Python Projects
Forwarded from Python Projects
Forwarded from Python Projects
*
Building Tic-Tac-Toe with Pygame Tutorial
Pygame is a useful python module that allows you to build graphical interfaces. It is great for python beginners to use and can lead to many interesting projects.
#python #sourceCode #sampleCode #pygame #project #game
Building Tic-Tac-Toe with Pygame Tutorial
Pygame is a useful python module that allows you to build graphical interfaces. It is great for python beginners to use and can lead to many interesting projects.
#python #sourceCode #sampleCode #pygame #project #game
Forwarded from Python Questions
x = 1.3 + 2.3
print(x == 3.6) # what is the output? Can you explain?
print(x == 3.6) # what is the output? Can you explain?
Anonymous Poll
16%
3.6
1%
1.3
2%
2.3
67%
True
14%
False
Forwarded from Python Projects
Drawing Kaleidoscope Pictures with Pygame
A very simple project to make a Kaleidoscope image using Python.
Good for practice program.
#python #sourceCode #sampleCode #pygame #random
A very simple project to make a Kaleidoscope image using Python.
Good for practice program.
#python #sourceCode #sampleCode #pygame #random
Forwarded from Python Questions
Which of the following functions will return an iterable object?
Anonymous Poll
11%
len()
5%
ord()
11%
xrange()
59%
range()
14%
none of the above
Forwarded from Python Projects
Forwarded from Python Projects
Practice Code: 001
Each level increases the complexity. Each level should satisfy the previous level
🔥How many levels can you achieve? 🔥
#python #practiceCode #samples #interviewQuestions #strings #numbers #validation
Each level increases the complexity. Each level should satisfy the previous level
🔥How many levels can you achieve? 🔥
#python #practiceCode #samples #interviewQuestions #strings #numbers #validation
Forwarded from Python Questions
Anonymous Poll
8%
5
13%
15
42%
True
17%
False
20%
Error in statement
Forwarded from Python Questions
"=".join(['1', '2', '4', '8', '16']) #what is the output. Explain Why?
Anonymous Poll
18%
1, 2, 4, 8, 16
3%
1, 2, 4, 8, 16, 32
47%
1=2=4=8=16
10%
1=2=4=8=16=32
21%
Syntax Error
Forwarded from Python Projects
Practice Code: 002
Accept a number from the user and return the sum of all natural numbers that are multiples of 5,7 less than the number entered by the user. Example --- Input: 15 --- 5, 7, 10, 14 and return 36
🔥Can you solve this? 🔥
#python #practiceCode #samples #interviewQuestions #numbers
Accept a number from the user and return the sum of all natural numbers that are multiples of 5,7 less than the number entered by the user. Example --- Input: 15 --- 5, 7, 10, 14 and return 36
🔥Can you solve this? 🔥
#python #practiceCode #samples #interviewQuestions #numbers
Forwarded from Python Questions
Which of the following operators has the lowest precedence?
Anonymous Poll
27%
not
11%
and
7%
**
39%
+
16%
%
Forwarded from Python Projects
pyIDM - Download Manager in Python
python open source alternative to IDM (Internet Download Manager) with multi-connections, high speed engine, based on python, pycurl, youtube_dl, and pysimplegui.
For those looking for some complex projects to get your hands dirty, try this one. Source code is available for reference, build it and if you find interesting, join the repo.
#python #sourceCode #sampleCode #project #pycurl #youtube_dl #pysimplegui
python open source alternative to IDM (Internet Download Manager) with multi-connections, high speed engine, based on python, pycurl, youtube_dl, and pysimplegui.
For those looking for some complex projects to get your hands dirty, try this one. Source code is available for reference, build it and if you find interesting, join the repo.
#python #sourceCode #sampleCode #project #pycurl #youtube_dl #pysimplegui
Forwarded from Python Questions
y, z = 10, 15
y *= y + z # What is the value of y. Explain How?
y *= y + z # What is the value of y. Explain How?
Anonymous Poll
3%
10
8%
25
23%
115
51%
250
15%
Syntax error
Forwarded from Python Questions
*
myList = [1, 2, 3, 4, 2, 2, 3, 1, 4, 4, 4,5,5,6,7,6,5]
A) Write a program to get the value that appears more number of times
B) When there is a tie, then get the number which is the smallest of them
#python #practiceCode #samples #interviewQuestions #numbers #list
myList = [1, 2, 3, 4, 2, 2, 3, 1, 4, 4, 4,5,5,6,7,6,5]
A) Write a program to get the value that appears more number of times
B) When there is a tie, then get the number which is the smallest of them
#python #practiceCode #samples #interviewQuestions #numbers #list
Forwarded from Python Questions
# Sequence Puzzle
[30, 9, 40, 50, 91, 142, 234, ?] Find the next value?
[30, 9, 40, 50, 91, 142, 234, ?] Find the next value?
Anonymous Poll
17%
276
16%
277
22%
334
17%
376
28%
377
Forwarded from Python Projects
Typing Speed Test – Build your first game in Python
In this Python project idea, we are going to build an exciting project through which you can check and even improve your typing speed. For a graphical user interface, we are going to use the pygame library which is used for working with graphics. We will draw the images and text to be displayed on the screen.
#python #sourceCode #sampleCode #project #pygame
In this Python project idea, we are going to build an exciting project through which you can check and even improve your typing speed. For a graphical user interface, we are going to use the pygame library which is used for working with graphics. We will draw the images and text to be displayed on the screen.
#python #sourceCode #sampleCode #project #pygame
TechVidvan
Python Project on Typing Speed Test - Build your first game in Python - TechVidvan
Python project on wpm test - Learn to build an application using pygame library that will detect your typing speed and help you to improve it.
Forwarded from Python Questions
*
name = 'ppy!'
Write code to insert the letter 'a' in-between each letter to form the word 'papaya!'
#python #practiceCode #samples #interviewQuestions #strings #list
name = 'ppy!'
Write code to insert the letter 'a' in-between each letter to form the word 'papaya!'
#python #practiceCode #samples #interviewQuestions #strings #list