Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: if the input is not number, let user input again
Post: RE: if the input is not number, let user input aga...

@pyzyx3qwerty sorry i will not do it again.. :)
ibutun General Coding Help 14 1,931 Jun-02-2020, 07:03 PM
    Thread: if the input is not number, let user input again
Post: RE: if the input is not number, let user input aga...

thanks alot friends
ibutun General Coding Help 14 1,931 May-31-2020, 04:30 PM
    Thread: if the input is not number, let user input again
Post: RE: if the input is not number, let user input aga...

(May-31-2020, 02:52 PM)menator01 Wrote: Another way. Modified code a little. #! /usr/bin/env python3.8 while True: try: my_name = input('What is your name: ') if my_name.isdigit...
ibutun General Coding Help 14 1,931 May-31-2020, 03:17 PM
    Thread: if the input is not number, let user input again
Post: RE: if the input is not number, let user input aga...

print('hello there') print('what is your name?') while True: myName = input() try: if str(myName) == True: print('your name is ' + myName + ', it is nice to meet you') ...
ibutun General Coding Help 14 1,931 May-31-2020, 02:11 PM
    Thread: if the input is not number, let user input again
Post: RE: if the input is not number, let user input aga...

print('hello there') print('what is your name?') while True: myName = input() try: if str(myName) == True: print('your name is ' + myName + ', it is nice to meet you') ...
ibutun General Coding Help 14 1,931 May-31-2020, 01:53 PM
    Thread: How to create an Excel app that runs Python?
Post: RE: How to create an Excel app that runs Python?

Did you look ALt+F11 combination and open Visual Basic Code... This solve your problem instantly...
ibutun General Coding Help 3 833 May-31-2020, 01:19 AM
    Thread: String slicing
Post: RE: String slicing

Is this something you want? list1 = list(range(14,0,-1)) list2 = list(range(0,-17,-1)) a = list1 + list2 print(list1) print(list2) print(a)Output:[14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1] [0, -1...
ibutun General Coding Help 6 1,206 May-31-2020, 12:55 AM
    Thread: Use if with and function?
Post: RE: Use if with and function?

(May-30-2020, 05:56 PM)menator01 Wrote: Format try input number if even number do something else not even number do something except not number Thank you very ...
ibutun General Coding Help 5 868 May-30-2020, 06:35 PM
    Thread: Use if with and function?
Post: RE: Use if with and function?

i wrote like this; num = int(input("Please enter a number: ")) if num %2 == 0: #If the value entered is a number and divided by two, print(f"{num} is an even number") #say it as an...
ibutun General Coding Help 5 868 May-30-2020, 05:55 PM
    Thread: Use if with and function?
Post: Use if with and function?

Hi members, i am new here and I have so many requests in phyton to learn... Please help me... i write a code like this but not working num = input("Please enter a number: ") if num.isalpha(): pr...
ibutun General Coding Help 5 868 May-30-2020, 05:42 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020