Posts

World richest man in the world

ITS YOU CAN DO IT

To find grade for five subjects using python

maths=int(input("enter marks")) pysics=int(input("enter marks")) soicial=int(input("enter marks")) science=int(input("enter marks")) english=int(input("enter marks")) total=maths+pysics+soicial+english+science print(total) percentage=(total/500)*100 print(percentage) if percentage > 90: print("grade A") if percentage > 80 and percentage 70 and percentage

number vowels in given string using python

name="dimpulsdgwfcyewfucyfewyudffcjywdghaaaaaaaaaaaaiaiiaiaiaiiaiaiaiiaiacfwyjfeutyai" a=name.count('a') e=name.count('e') i=name.count('i') o=name.count('o') u=name.count('u') print(f" number of vowels: {a+e+i+o+u}") OUTPUT number of vowels: 43

Escape sequence in python

foer a example ket you tell that sai's is print in the output but ---> '

string concatenation

first= str("dimpul") second=str("sai") print(first + " love " + second) print(len(second)) print(len(first)) program for special cases in string Python String strip() Method The strip() method removes any leading, and trailing whitespaces. Leading means at the beginning of the string, trailing means at the end. You can specify which character(s) to remove, if not, any whitespaces will be removed. first= str("dimpul sai") print(first.upper()) print(first.lower()) print(first.strip()) print(first.replace('d','D')) print(first.count('i'))

if, if else, if elif else

if whether='sunny' if whether=='sunny': print("I WILL GO OUT SIDE") if else whether=str(input("enter your whether. ")) if whether=='sunny': print("I WILL GO OUT SIDE") else: print("iwill not go out side") if elif else whether=input("enter your whether ") if whether=='sunny': print("I WILL GO OUT SIDE") elif whether=='hot': print("iwill not go out side") elif whether=='cold': print("i will play in side") else: print("sleep")

python simple program

swap to numbers with using temperory vairable a=int(input("enter a value")) b=int(input("enter b value")) a=a+b b=a-b a=a-b print(a,b) farheat to celcius f=int(input("enter value")) k=int(input("enter value")) f=k*(9/5)+32 k=273+f print("farnheat in celcius",f ) print("farnheat in celcius",k ) ruppes in dollors amount=int(input("enter amount in ruppes")) USA=amount*0.0012 print(f"rupees in dollor is {USA}")

cloud computing

what is cloud computing? It is a store data through internet it means Cloud computing is the on-demand delivery of computing services, like servers, storage, databases, networking, software, and analytics, over the internet, allowing users to access resources and applications without needing to manage the underlying infrastructure.

Internet of things

If your human read this Education is not important in agriculture.but smartness in farming can through education like 1.aurdino uno https://www.google.com/imgres?q=smart%20irrigation%20system%20using%20iot&imgurl=https%3A%2F%2Fcircuitdigest.com%2Fsites%2Fdefault%2Ffiles%2Fcircuitdiagram_mic%2FCircuit-Diagram-for-IoT-based-Smart-Irrigation-System-using-Soil-Moisture-Sensor-and-ESP8266-NodeMCU.png&imgrefurl=https%3A%2F%2Fcircuitdigest.com%2Fmicrocontroller-projects%2Fiot-based-smart-irrigation-system-using-esp8266-and-soil-moisture-sensor&docid=qERVGzVwDsbH6M&tbnid=sGZvkxG5rFdjGM&vet=12ahUKEwjG8tPoqKWMAxVbzTgGHVtTCEMQM3oECEYQAA..i&w=1062&h=908&hcb=2&ved=2ahUKEwjG8tPoqKWMAxVbzTgGHVtTCEMQM3oECEYQAA

smart irrigation through wifi module

#include "DHT.h" #include #include SoftwareSerial wifi(2, 3); const int rs = 13, en = 12, d4 = 11, d5 = 10, d6 = 9, d7 = 8; LiquidCrystal lcd(rs, en, d4, d5, d6, d7); #define DHTPIN 7 #define DHTTYPE DHT11 DHT dht(DHTPIN, DHTTYPE); int buz = A2; #define RELAY_PIN 6 #define SOIL_SENSOR A0 bool autoMode = false; // Flag for auto mode void setup() { wifi.begin(115200); Serial.begin(9600); pinMode(buz, OUTPUT); digitalWrite(buz, LOW); pinMode(RELAY_PIN, OUTPUT); digitalWrite(RELAY_PIN, HIGH); dht.begin(); lcd.begin(16, 2); lcd.setCursor(0, 0); lcd.print(" SMART IRRIGATION"); lcd.setCursor(0, 1); lcd.print(" SYSTEM READY"); delay(2000); wifi_init(); delay(3000); } void loop() { int h = dht.readHumidity(); int t = dht.readTemperature(); int s = analogRead(SOIL_SENSOR); int mos = map(s, 1023, 0, 0, 100); lcd.clear(); lcd.setCursor(0, 0); lcd.print("Temp:" + String(t) + "C"); lcd.s...

python small

 marks=eval(input("Enter Your marks:")) if marks<=10:   print("fail") else:   print("pass") 

smart irrigation

Image
 INDIAN AGO TECH now a days in India as some new agricalture products like in see pictures These can spray pesticides with helping humans just control the drone. But major problem is pesticides mixed with air to reduce by small modifications. to reduce the people and time

Agriculture tractor with solar

Image
Solar tractor There are so many farming products like tractor The main problem is diesel is used in tractors.and modified the tractor top To reduced the diesel because diesel is limited in earth And also to reduce pollution