R

@ra_1fh

Project 13

Python
13 hours ago
is_egyptian = input("Are you Egyptian? Type 'yes' or 'no' \n ").lower() if is_egyptian == 'yes': print("Good,that's the first step") is_18 = input("Are you above 18? Type 'yes' or 'no' \n").lower() if is_18 == 'yes': print('You c

Project 12

Python
13 hours ago
age = int (input("Enter your age please: \n")) license = input('Do you have a license? Type (Yes) or (No) \n') if age >= 18 and license.lower() == 'yes': print('You can drive!') elif age < 18 or license.lower() == 'no': print("Sorry, you can

Project 11

Python
14 hours ago
area = input("Chose an area: (Cairo), (Alexandria), or (Tanta) \n") if area.lower() == "cairo" or area.lower() == "alexandria" or area.lower() == "tanta": print(f'{area} is on our list!') else: print(f"Sorry, {area} is not on our list!")

Project 10

Python
3 days ago
guessed = int(input('Please guess a number: \n')) correct_number = 7 if guessed == correct_number: print('Good guess') else: print(f'You guessed {guessed}, but the correct number is {correct_number}')

Project 9

Python
3 days ago
tybed = input('Please type (Yes), (No), or (Maybe) \n') if tybed == 'yes': print(f'You tybed {tybed}') elif tybed == 'no': print(f'You tybed {tybed}') elif tybed == 'maybe': print(f'You tybed {tybed}') else: print(f'You tybed {tybed}, which is

Project 8

Python
3 days ago
pas =input("Please enter your password: \n") correct_pas = 'abc' if pas == correct_pas: print("Welcome to the app") else: print("Sorry, you can't use the app")

Project 7

Python
3 days ago
#90 امتياز #75 جيد #50 مقبول #تحت 50 ضعيف score = float(input('Enter your test score: \n ')) if score >= 90: print('You got an A grade!') elif score >= 75: print('You got a B grade!') elif score >= 50:

Project 6

Python
3 days ago
number = float (input('Enter a number \n')) if number > 0: print('The number is positive') elif number < 0: print('The number is negative') else: print('The number is zero')

Project 5

Python
3 days ago
print('Welcome to my application') age = int(input('How old are you?\n')) if age >= 12: print('Good. You can use the app') else: print("Sorry, you can't use the app")

Project 3

Python
5 days ago
#seconds سماها int_seconds = int(input ('Please type the number of seconds: \n')) #Enter the duration in seconds: hours = int_seconds // 3600 #minutes = (seconds % 3600) // 60 minutes = int_seconds // 60 remaining_seconds = int_seconds % 60 print(f"

Project 4

Python
5 days ago
int_age = int(input('How old are you? \n')) print(f'You wrer born in the year {2026 - int_age}')

Project 2

Python
1 week ago
str_length = input('Please type length : \n') str_width = input('Please type width : \n') # سماها price str_meter = input('how much for 1 meter? : \n ') #convert Type length = float(str_length) width = float(str_width) #المفروض احط الميتر هون

Project 1

Python
1 week ago
print('Welcome to this YouTube Channel Name Generator:') name = input('What is your nickname?\n') topic = input('What is your channel about?\n') print(f"You could name your channel ' {topic} with {name} ' ")