Basic Python 33: Mathematics | Python

Опубликовано: 10 Октябрь 2022
на канале: Testing Tutorialspoint
21
6

Python Mathematics:
-------------------
Python offers modules like math and random to carry out different mathematics like trigonometry, logarithms, probability and statistics, etc.

ex:
import math

print(math.pi)

print(math.cos(math.pi))

print(math.exp(10))

print(math.log10(1000))

print(math.sinh(1))

print(math.factorial(6))

Output

3.141592653589793
-1.0
22026.465794806718
3.0
1.1752011936438014
720

ex: random

import random

print(random.randrange(10, 20))

x = ['a', 'b', 'c', 'd', 'e']

Get random choice
print(random.choice(x))

Shuffle x
random.shuffle(x)

Print the shuffled x
print(x)

Print random element
print(random.random())

__________________ API Automation _________________
➡️ Rest Assured Using Java →    • Rest Assured  
➡️ Karate Framework using Maven →    • Karate Framework Using Maven Project  
_____________ Programing Language ____________________
➡️ Basic Python →    • Basic Python  
➡️ Core Java →    • CoreJava  
___________ Performances Testing ___________________
➡️ JMeter Beginner →    • JMeter Beginner  
➡️ Locust Beginner →    • Locust  
___________ Git and GitHub _____________________________
➡️ Git and GitHub Beginner →    • Git and GitHub Beginner  

_____________Manual Testing ____________________
➡️ Manual Testing →    • Manual Testing  

______________Automation Testing __________________
➡️ Selenium Cucumber Framework using Java →    • Selenium Cucumber BDD Framework with Java ...  
➡️ Robot Framework with Python →    • Python With Robot Framework  
➡️ Beginner Karate Framework using Intellij →    • Karate Framework Beginner  
➡️ Karate Framework with Gradle using eclipse →    • Karate Framework using Gradle Project  
➡️ Basic Selenium WebDriver using Java →    • Selenium WebDriver  
➡️ TestNG Framework →    • TestNG Framework  
➡️ Robot Framework with RIDE →    • RIDE With Robot Framework  
________________ Beginner Jenkins ____________________
➡️ Beginner Jenkins →    • Beginner Jenkins  


На этой странице сайта вы можете посмотреть видео онлайн Basic Python 33: Mathematics | Python длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Testing Tutorialspoint 10 Октябрь 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 21 раз и оно понравилось 6 зрителям. Приятного просмотра!