1, సెప్టెంబర్ 2025, సోమవారం

Mr.Ram@jntuh............

 

S C M.........at JNTU HYDERABAD..........................

 At Jawaharlal Nehru Technological University (JNTUH), "faculty SCM" refers to Faculty Selection Committee Minutes or the process of ratifying faculty qualificationsThese minutes document the decisions of a committee that interviews candidates and assesses their qualifications for faculty positions, a process critical for granting affiliation to the university's colleges. 

Here's a breakdown of the meaning:
  • Faculty: Refers to the teaching staff at JNTUH's affiliated colleges. 
  • SCM: Stands for Selection Committee Minutes. 
  • Purpose:
    • The minutes are generated by the university's Selection Committee, which includes university nominees and college representatives, to select and ratify the qualifications of faculty members for affiliated colleges. 
    • This process is essential for ensuring that colleges meet the university's standards for qualified faculty and maintain proper faculty-student ratios. 
    • Colleges upload their faculty data and SCM/ratification letters to the JNTUH portal for the university's approval. 
Why it's important:
  • Affiliation:
    JNTUH uses the faculty SCM process to verify the eligibility of faculty and grant or renew the affiliation of its colleges. 
  • Compliance:
    It ensures that colleges adhere to the university's norms and qualified faculty standards, especially for new technology courses, reports The Hans India. 
  • Quality Assurance:
    The ratification of qualifications through the SCM process contributes to maintaining the academic quality of JNTUH's affiliated institutions. 

 def reverse_string_slicing(s):

    """Reverses a string using slicing."""

    return s[::-1]


# Example usage

input_string = "hello"

reversed_string = reverse_string_slicing(input_string)

print(f"Original: {input_string}, Reversed: {reversed_string}")



from collections import Counter


s = "Python is Fun!"

v = "aeiouAEIOU"

cnt = Counter([i for i in s if i in v])

print(cnt)


my_list = [1, 2, 3, 1, 4, 2, 1, 5]

item_to_count = 1

count = my_list.count(item_to_count)

print(f"The item {item_to_count} appears {count} times in the list.")

27, ఆగస్టు 2025, బుధవారం

mr

 

Python Variables


Variables

Variables are containers for storing data values.


Creating Variables

Python has no command for declaring a variable.

A variable is created the moment you first assign a value to it.

x = 5

y = "John"
print(x)
print(y)

Variables do not need to be declared with any particular type, and can even change type after they have been set.

Example

x = 4       # x is of type int
x = "Sally" # x is now of type str
print(x)

Casting

If you want to specify the data type of a variable, this can be done with casting.

Example

x = str(3)    # x will be '3'
y = int(3)    # y will be 3
z = float(3)  # z will be 3.0



Get the Type

You can get the data type of a variable with the type() function.

Example

x = 5
y = "John"
print(type(x))
print(type(y))
You will learn more about data types and casting later in this tutorial.

Single or Double Quotes?

String variables can be declared either by using single or double quotes:

Example

x = "John"
# is the same as
x = 'John'

Case-Sensitive

Variable names are case-sensitive.

Example

This will create two variables:

a = 4
A = "Sally"
#A will not overwrite a

26, ఆగస్టు 2025, మంగళవారం

python lamba expressions ..............

 A lambda function is a small anonymous function.

A lambda function can take any number of arguments, but can only have one expression.


Syntax

lambda arguments expression

The expression is executed and the result is returned:



Add 10 to argument a, and return the result:

x = lambda a : a + 10
print(x(5))

Lambda functions can take any number of arguments:

Example

Multiply argument a with argument b and return the result:

x = lambda a, b : a * b
print(x(56))

Example

Summarize argument ab, and c and return the result:

x = lambda a, b, c : a + b + c
print(x(562))



.................................The power of lambda is better shown when you use them as an anonymous function inside another function.

Say you have a function definition that takes one argument, and that argument will be multiplied with an unknown number:

def myfunc(n):
  return lambda a : a * n

Use that function definition to make a function that always doubles the number you send in:

Example

def myfunc(n):
  return lambda a : a * n

mydoubler = myfunc(2)

print(mydoubler(11))

Or, use the same function definition to make a function that always triples the number you send in:

Example

def myfunc(n):
  return lambda a : a * n

mytripler = myfunc(3)

print(mytripler(11))

Or, use the same function definition to make both functions, in the same program:

Example

def myfunc(n):
  return lambda a : a * n

mydoubler = myfunc(2)
mytripler = myfunc(3)

print(mydoubler(11))
print(mytripler(11))

Use lambda functions when an anonymous function is required for a short period of time.