Discover posts

Explore captivating content and diverse perspectives on our Discover page. Uncover fresh ideas and engage in meaningful conversations

Python modules and Libraries:
# finding the highest data point in an array
import math
data = [45, 35, 67, 0, 78, 56, 90]
highestScore = (madata))

if highestScore > 50:
print("excellent"
else:
print("failed"

#dynamicpython
Dynamic Assignment in Python refers to the ability to allocate values to variables at runtime, meaning that the allocation can occur during the execution of the program rather than being fixed at compile time. It is principally useful in scenarios where the values of variables are determined based on user input, external data sources, or calculated during the program's execution.
The counterpart of dynamic assignment in programming languages is Static Assignment. This Static assignment usually occurs at compile time, where variables are assigned values that are determined before the program is executed.

image

image

#thankstoprof
#thanxtoonecampus
The 3 Naming Conventions in Python
CAMEL CASE - The 1st letter of the 1st word is LOWER case and the 1st letter of all subsequent words making up the name are UPPER case eg numberOfOranges.
SNAKE CASE - all words making up the name are LOWER case BUT each are seperated by an UNDERSCORE eg sch_of_nursing.
PASCA CASE - This is identical to Camel Case BUT all 1st letters of every word making up the name are capitalized eg StudentName.

Task I got from a tutorial. I wrote a function to solve all the questions

image

Task I got from a tutorial. I wrote a function to solve all the questions

image

Task I got from a tutorial. I wrote a function to solve all the questions

imageimage
Williams Nnorom changed his profile picture
19 w

image

image