Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,410 members, 7,815,911 topics. Date: Thursday, 02 May 2024 at 08:49 PM

Python Tutorial And Short Quizzes - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Python Tutorial And Short Quizzes (818 Views)

Please I Need Python Tutorial Pdf For Beginner / Python Tutorial Group / Data Science With Python Tutorial (2) (3) (4)

(1) (Reply) (Go Down)

Python Tutorial And Short Quizzes by PythonPros: 8:12am On Feb 20, 2023
I want to give back to this community by sharing tutorials and quizzes that I can find on python and data analysis.

Do feel free to post questions or quizzes as well.

**I don't know if nairaland is enabled for code writing but until that is confirmed, let us all take a screenshot of our code in any of a our favourite IDM and send here.

**Phone apps to use include pydroid, jupyter in pydroid, sololearn...
Re: Python Tutorial And Short Quizzes by PythonPros: 8:13am On Feb 20, 2023
So our very first question is on string methods, what is the right answer?

Re: Python Tutorial And Short Quizzes by Rastafryrice: 8:22am On Feb 20, 2023
PythonPros:
So for our first question, what is the right answer?

A
Re: Python Tutorial And Short Quizzes by Nobody: 8:27am On Feb 20, 2023
Teach me data analysis please
Re: Python Tutorial And Short Quizzes by PythonPros: 8:28am On Feb 20, 2023
Rastafryrice:


A

Correct.

'strip() is a python string class method that removes white spaces before and after a string. Similarly 'rstrip removes spaces located at the right side of a string while 'lstrip removes spaces from the left side.


Let's make it more challenging....

1. Can you give a scenario in which strip() method is considered useful?

2. Can you write the function behind the strip method?

1 Like

Re: Python Tutorial And Short Quizzes by PythonPros: 8:31am On Feb 20, 2023
DefKon:
Teach me data analysis please

It starts with learning python basics and statistics. Coursera can help with that. Once you have mastered that, picking up concepts behind data analysis with python should be pretty easy.

It's important you don't feel rushed. Make out a few hours a day to learn and practice. Again, PRACTICE, PRACTICE, PRACTICE. You need to love what you do and have fun while doing it.

I will be honest, it won't be easy but if you persist, it definitely gets better. Cheers
Re: Python Tutorial And Short Quizzes by PythonPros: 8:48am On Feb 20, 2023
DefKon:
Teach me data analysis please

If you need a private tutorial, that can be arranged as well
Re: Python Tutorial And Short Quizzes by PythonPros: 8:56am On Feb 20, 2023
It's important for us all to know that there are no wrong answers. We are all here to help each others grow. If you don't understand any topics discussed, it presents the perfect opportunity to read up around it or ask questions.
Re: Python Tutorial And Short Quizzes by williamthomas96: 10:33am On Feb 28, 2023
Python is a powerful and versatile programming language that is used in a wide range of applications, from web development to scientific computing. If you're new to Python or looking to improve your skills, there are many great resources available online to help you learn and practice.

One useful resource is a Python tutorial, which can provide a step-by-step introduction to the language and its syntax. There are many Python tutorials available online, from beginner-level introductions to more advanced topics like machine learning and data analysis. Some popular Python tutorials include those offered by Codecademy, W3Schools, and Python.org.

In addition to tutorials, short quizzes can also be a helpful way to reinforce your understanding of Python concepts and syntax. There are many online resources for Python quizzes, including CodeWars, HackerRank, and Project Euler. These quizzes often challenge you to solve coding problems using Python, which can help you develop your problem-solving skills and gain confidence in your abilities.

If you're looking for more structured training in Python, you might consider enrolling in a chennai software training institute
that offers courses in Python programming. These institutes often offer comprehensive training programs that cover everything from the basics of Python syntax to more advanced topics like data analysis, machine learning, and web development. Some well-known software training institutes that offer Python courses.

Overall, whether you're just starting out with Python or looking to take your skills to the next level, there are many resources available online to help you learn and grow. By taking advantage of Python tutorials, short quizzes, and software training institutes, you can develop the skills and knowledge you need to become a proficient and confident Python programmer.

1 Like

Re: Python Tutorial And Short Quizzes by yinkeys(m): 10:57am On Oct 17, 2023
@Pythonpros why did you stop
Re: Python Tutorial And Short Quizzes by PythonPros: 12:27pm On Oct 17, 2023
yinkeys:
@Pythonpros why did you stop

Very little feedback. Many wanted some form of tutorial with interactive exercises. I am pleased to announce that we have that on ground now.

Kindly visit this thread for more information on this: https://www.nairaland.com/7879215/learn-data-analysis-python-hurry#126455057
Re: Python Tutorial And Short Quizzes by PythonPros: 12:46pm On Oct 17, 2023
Teach me data analysis please

We now offer tutorials and interactive sessions regarding this. Kindly visit this page for more details

https://www.nairaland.com/7879215/learn-data-analysis-python-hurry
Re: Python Tutorial And Short Quizzes by yinkeys(m): 1:32pm On Oct 17, 2023
Quiz

String1 = "Hello World"
String2 = "Python is Fun!"


print(String1[0])
print(String1[0:5])
print(String1[:5])
print(String1[6:])


String3 = String1[:6] + String2[:6]
print(String3)


print(String2[:7]*5)
Re: Python Tutorial And Short Quizzes by yinkeys(m): 1:38pm On Oct 17, 2023
PythonPros:


We now offer tutorials and interactive sessions regarding this. Kindly visit this page for more details

https://www.nairaland.com/7879215/learn-data-analysis-python-hurry
When do you intend to start
Let me refer more people
Re: Python Tutorial And Short Quizzes by PythonPros: 2:12pm On Oct 17, 2023
yinkeys:

When do you intend to start
Let me refer more people

Already started. Thanks for the referral
Re: Python Tutorial And Short Quizzes by Dracking(m): 11:34am On Oct 19, 2023
yinkeys:
Quiz

String1 = "Hello World"
String2 = "Python is Fun!"


print(String1[0])
print(String1[0:5])
print(String1[:5])
print(String1[6:])


String3 = String1[:6] + String2[:6]
print(String3)


print(String2[:7]*5)


1... H
2...Hell
3...Hell
4...World


5...Hello pytho
6... Python python python python python.
Check for mistakes bro

Need someone to teach me abeg
Re: Python Tutorial And Short Quizzes by PythonPros: 5:43pm On Oct 19, 2023
PYTHONCODER1:


Do you know that the string.strip() method can take an optional string argument that specifies the set of characters to be removed from the beginning or end of the string?
For instance:
my_string = 'PYTHONCODER1'
print(my_string.strip('PYTHON')

#CODER1 will be printed

Yes. I do know that
Re: Python Tutorial And Short Quizzes by yinkeys(m): 10:32pm On Oct 19, 2023
Dracking:



1... H
2...Hell
3...Hell
4...World


5...Hello pytho
6... Python python python python python.
Check for mistakes bro

Need someone to teach me abeg
H
Hello
Hello
World
Hello Python
Python Python Python Python Python


Always note that Python counting starts from 0.
Just like British ground floor zero
Assume zero if no number indicated at start in columns within the argument.
And take this order when counting.
Start:Stop:Step
Negate step when there’s only one column sign within argument
Case sensitive language too
Re: Python Tutorial And Short Quizzes by yinkeys(m): 9:12pm On Nov 08, 2023
Where is @PYTHONCODER1 ?
Re: Python Tutorial And Short Quizzes by yinkeys(m): 11:50pm On Nov 09, 2023
Another Quiz

MyString = ‘´ Hello World ´´

print(MyString.upper())

print(MyString.strip())
print(MyString.center(21, ‘´*’´))
print(MyString.strip().center(21, ´´*’’)

print(MyString.isdigit())
print(MyString.istitle())

print(max(MyString))

print(MyString.split())
print(MyString.split()[0])

Still easier than using nested if, for & while loop statements
Re: Python Tutorial And Short Quizzes by yinkeys(m): 11:59am On Nov 10, 2023
Can anyone pls explain what max(string) & min(string) does
Re: Python Tutorial And Short Quizzes by yinkeys(m): 12:56pm On Nov 10, 2023
Re: Python Tutorial And Short Quizzes by yinkeys(m): 10:16am On Feb 25
@PythonPros I need python projects to handle. Send pls

(1) (Reply)

Dont Loose Visitors Because Of Poor Website Design / Wga Notification Process Killer / Embedded

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 24
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.