Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Some programs for python beginners #21
Conversation
count = 0 | ||
for nat in rax: | ||
count = count + 1 | ||
print('Total Lines : ',count) |
Akuli
Oct 2, 2020
Owner
Can you put this program to basics/files.md
, near other code examples of looping over a file, and add some text explaining what this code does?
Can you put this program to basics/files.md
, near other code examples of looping over a file, and add some text explaining what this code does?
for num in [74,54,63,98,41,28,74,63,85,98]: | ||
if num > defNo: | ||
defNo = num | ||
print('Largest Number: ',defNo) |
Akuli
Oct 2, 2020
Owner
Can you turn this into a "fix this broken code" exercise and put it to loops.md
?
Can you turn this into a "fix this broken code" exercise and put it to loops.md
?
@@ -0,0 +1,3 @@ | |||
import win10toast | |||
toaster = win10toast.ToastNotifier() | |||
toaster.show_toast('Rax','Its my PC',duration = 7) |
Akuli
Oct 2, 2020
Owner
Can you create an exercises section to basics/modules.md
with an exercise saying e.g. "create a program that shows a notification"? This code should then go to basics/answers.md
.
Can you create an exercises section to basics/modules.md
with an exercise saying e.g. "create a program that shows a notification"? This code should then go to basics/answers.md
.
Yeah, sure i will commit changes as per requested. I am creating some more programs regarding python for beginners and i will add them in this pull request. Just don't close it i will commit new changes in itself. Thank you for your feedback. Hope you liked the programs. |
Adding some code examples for pythin beginners . Will be happy to help you with more . Looking forward to contribute more. Thank You . I hope you will add them .