Python learning
27.2K subscribers
209 photos
8 videos
75 files
118 links
Learn pythonπŸ”₯
Quality content πŸ˜‰
Get Python Course 😁
Download Telegram
LEGEND Form Project πŸ˜…πŸ˜€
-----------------------------------------------------
Complete Source Code πŸ‘‡
-----------------------------------------------------

<html>
<head>
<style>

.outer{ 
margin:auto;
height:300px;
width:400px;
border:2px solid black;
position:relative
}
p{
margin-left:80px;
}
.in{
margin-left:80px;
padding:10px
}
#bt{
margin-top:20px;
position:absolute;
left:150px;
}
#bt:hover{
background:green;
font-size:13px;
cursor:pointer;
color:white;
}
</style>
<script>
function fa(){
if(a.value=="" || b.value==""){
f()
document.getElementById("a").style.border="3px solid red"
document.getElementById("b").style.border="3px solid red"
bt.value="Pahila data tak"
}
else{
document.getElementById("a").style.border="3px solid green"
document.getElementById("b").style.border="3px solid green"
bt.value="Ha thik ahe ata"
bt.style.left="120px";
}
}
flag=1
function f(){
if(flag==1){
bt.style.left="210px"
flag=2
}
else if(flag==2){
bt.style.left="80px"
flag=1
}
}
</script>
</head>
<body>
<div class="outer">
<h1 style="text-align:center">Legend form</h1>
<p>Enter Id</p>
<input class="in" type="text" placeholder="Enter id" id="a"/>
<p>Enter Confirm Pass</p>
<input class="in" type="password" placeholder="Enter password" id="b"/>
<br>
<input type="submit" onmouseenter="fa()" onclick="alert('waaaa')" id="bt" />

</div>

</body>


</html>
Output of this code
>>> X= 2.2.2
>>> print (x*2)
Anonymous Quiz
54%
Error
20%
444
27%
2.2.22.2.2
PYTHON PROJECT FOR πŸ‘¨πŸΌβ€πŸ’»πŸ‘¨πŸΌβ€πŸ’»
Create Graphical User Interfaces with Python.pdf
11.3 MB
βœ… Book : Create Graphical User  Interfaces with Python – How to build windows, buttons, and widgets for your Python projects

βœ… Download now πŸš€
Python learning:
import turtle
a=turtle.Turtle()
a.getscreen().bgcolor("black")
a.penup()
a.goto(-200, 100)
a.pendown()
a.color("yellow")
a.speed(25)
def star(turtle, size):
    if size<=10:
        return
    else:
        turtle.begin_fill()
        for i in range (5):
            turtle.pensize(2)
            turtle.forward(size)
            star(turtle, size/3)
            turtle.left(216)
            turtle.end_fill()
star(a, 360)
turtle.done()
Run this Code and send output screenshot
Website Which will teach you for freeπŸ™ŒπŸ»πŸ™ŒπŸ»πŸ™ŒπŸ»πŸ™ŒπŸ»
Creators of programming language πŸ™ŒπŸ»πŸ™ŒπŸ»πŸ™ŒπŸ»
Which of the following character is
used to give single-line comments in
Python?
Anonymous Quiz
25%
//
61%
#
4%
!
11%
/*
Turtle Clock.txt
3.6 KB
Code file for Clock program
COMPANIES THAT DONT ASK FOR DEGREEπŸ™ŒπŸ»πŸ™ŒπŸ»πŸ™ŒπŸ»πŸ™ŒπŸ»
Which one of the following is not a
keyword in Python language?
Anonymous Quiz
29%
eval
9%
pass
9%
def
54%
nonlocal
5_6125174816421970019.pdf
416.5 KB
TCS Important Interview Preparation Questions
from turtle import *

speed(0)
bgcolor('black')
color('orange')
hideturtle()

n = 1
p = True

while True:
circle(n)
if p:
n = n - 1
else:
n = n + 1

if n == 0 or n == 60:
p = not p

left(1)
forward(3)

done()
Run this Code and send output screenshot
Remove Background Using Python πŸ”₯πŸ™ŒπŸ»